@tellescope/sdk 2.0.0-beta.1 → 2.0.0-beta.2
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/CLAUDE.md +24 -0
- package/env.example +6 -0
- package/lib/cjs/sdk.d.ts +373 -3
- package/lib/cjs/sdk.d.ts.map +1 -1
- package/lib/cjs/sdk.js.map +1 -1
- package/lib/cjs/tests/api_tests/booking_prevent_upcoming_duplicate.test.d.ts +22 -0
- package/lib/cjs/tests/api_tests/booking_prevent_upcoming_duplicate.test.d.ts.map +1 -0
- package/lib/cjs/tests/api_tests/booking_prevent_upcoming_duplicate.test.js +506 -0
- package/lib/cjs/tests/api_tests/booking_prevent_upcoming_duplicate.test.js.map +1 -0
- package/lib/cjs/tests/api_tests/enduser_fields_sync.test.d.ts +3 -1
- package/lib/cjs/tests/api_tests/enduser_fields_sync.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/enduser_fields_sync.test.js +3 -1
- package/lib/cjs/tests/api_tests/enduser_fields_sync.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/enduser_observations_auto_review.test.d.ts +3 -1
- package/lib/cjs/tests/api_tests/enduser_observations_auto_review.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/enduser_observations_auto_review.test.js +3 -1
- package/lib/cjs/tests/api_tests/enduser_observations_auto_review.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/form_vital_reading.test.d.ts +7 -0
- package/lib/cjs/tests/api_tests/form_vital_reading.test.d.ts.map +1 -0
- package/lib/cjs/tests/api_tests/form_vital_reading.test.js +461 -0
- package/lib/cjs/tests/api_tests/form_vital_reading.test.js.map +1 -0
- package/lib/cjs/tests/api_tests/journey_statistics_cache.test.d.ts +26 -0
- package/lib/cjs/tests/api_tests/journey_statistics_cache.test.d.ts.map +1 -0
- package/lib/cjs/tests/api_tests/journey_statistics_cache.test.js +232 -0
- package/lib/cjs/tests/api_tests/journey_statistics_cache.test.js.map +1 -0
- package/lib/cjs/tests/api_tests/journey_step_manual_count.test.d.ts +34 -0
- package/lib/cjs/tests/api_tests/journey_step_manual_count.test.d.ts.map +1 -0
- package/lib/cjs/tests/api_tests/journey_step_manual_count.test.js +243 -0
- package/lib/cjs/tests/api_tests/journey_step_manual_count.test.js.map +1 -0
- package/lib/cjs/tests/api_tests/load_threads_care_team.test.d.ts +3 -1
- package/lib/cjs/tests/api_tests/load_threads_care_team.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/load_threads_care_team.test.js +3 -1
- package/lib/cjs/tests/api_tests/load_threads_care_team.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/organization_signup.test.d.ts +3 -1
- package/lib/cjs/tests/api_tests/organization_signup.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/organization_signup.test.js +3 -1
- package/lib/cjs/tests/api_tests/organization_signup.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/phone_embed_leave_message.test.d.ts +7 -0
- package/lib/cjs/tests/api_tests/phone_embed_leave_message.test.d.ts.map +1 -0
- package/lib/cjs/tests/api_tests/phone_embed_leave_message.test.js +571 -0
- package/lib/cjs/tests/api_tests/phone_embed_leave_message.test.js.map +1 -0
- package/lib/cjs/tests/api_tests/programs.test.d.ts +3 -1
- package/lib/cjs/tests/api_tests/programs.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/programs.test.js +73 -17
- package/lib/cjs/tests/api_tests/programs.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/public_form_case_insensitive_match.test.d.ts +7 -0
- package/lib/cjs/tests/api_tests/public_form_case_insensitive_match.test.d.ts.map +1 -0
- package/lib/cjs/tests/api_tests/public_form_case_insensitive_match.test.js +733 -0
- package/lib/cjs/tests/api_tests/public_form_case_insensitive_match.test.js.map +1 -0
- package/lib/cjs/tests/api_tests/security/add-to-journey-foreign-enduserid.test.d.ts +3 -1
- package/lib/cjs/tests/api_tests/security/add-to-journey-foreign-enduserid.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/add-to-journey-foreign-enduserid.test.js +3 -1
- package/lib/cjs/tests/api_tests/security/add-to-journey-foreign-enduserid.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/security/appointment-reschedule-ownership.test.d.ts +3 -1
- package/lib/cjs/tests/api_tests/security/appointment-reschedule-ownership.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/appointment-reschedule-ownership.test.js +3 -1
- package/lib/cjs/tests/api_tests/security/appointment-reschedule-ownership.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/security/file-link-session-confinement.test.d.ts +3 -1
- package/lib/cjs/tests/api_tests/security/file-link-session-confinement.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/file-link-session-confinement.test.js +3 -1
- package/lib/cjs/tests/api_tests/security/file-link-session-confinement.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/security/form-logic-js-execution.test.d.ts +3 -1
- package/lib/cjs/tests/api_tests/security/form-logic-js-execution.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/form-logic-js-execution.test.js +3 -1
- package/lib/cjs/tests/api_tests/security/form-logic-js-execution.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/security/formsort_webhook_auth_field_lock.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/formsort_webhook_auth_field_lock.test.js +424 -39
- package/lib/cjs/tests/api_tests/security/formsort_webhook_auth_field_lock.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/security/register_business_id_injection.test.js +2 -2
- package/lib/cjs/tests/api_tests/security/register_business_id_injection.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/security/rich-text-answer-sanitized-on-write.test.d.ts +3 -1
- package/lib/cjs/tests/api_tests/security/rich-text-answer-sanitized-on-write.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/rich-text-answer-sanitized-on-write.test.js +3 -1
- package/lib/cjs/tests/api_tests/security/rich-text-answer-sanitized-on-write.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/session_for_join_link.test.d.ts +10 -0
- package/lib/cjs/tests/api_tests/session_for_join_link.test.d.ts.map +1 -0
- package/lib/cjs/tests/api_tests/session_for_join_link.test.js +147 -0
- package/lib/cjs/tests/api_tests/session_for_join_link.test.js.map +1 -0
- package/lib/cjs/tests/api_tests/set_fields_order_templates.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/set_fields_order_templates.test.js +191 -88
- package/lib/cjs/tests/api_tests/set_fields_order_templates.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/stripe_checkout_items.test.d.ts +17 -0
- package/lib/cjs/tests/api_tests/stripe_checkout_items.test.d.ts.map +1 -0
- package/lib/cjs/tests/api_tests/stripe_checkout_items.test.js +219 -0
- package/lib/cjs/tests/api_tests/stripe_checkout_items.test.js.map +1 -0
- package/lib/cjs/tests/api_tests/stripe_multiple_customer_ids.test.d.ts +5 -0
- package/lib/cjs/tests/api_tests/stripe_multiple_customer_ids.test.d.ts.map +1 -0
- package/lib/cjs/tests/api_tests/stripe_multiple_customer_ids.test.js +396 -0
- package/lib/cjs/tests/api_tests/stripe_multiple_customer_ids.test.js.map +1 -0
- package/lib/cjs/tests/api_tests/tickets_bulk_assign_from_queue.test.d.ts +3 -1
- package/lib/cjs/tests/api_tests/tickets_bulk_assign_from_queue.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/tickets_bulk_assign_from_queue.test.js +3 -1
- package/lib/cjs/tests/api_tests/tickets_bulk_assign_from_queue.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/totp_mfa.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/totp_mfa.test.js +37 -31
- package/lib/cjs/tests/api_tests/totp_mfa.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/trigger_contains_matching.test.d.ts +3 -1
- package/lib/cjs/tests/api_tests/trigger_contains_matching.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/trigger_contains_matching.test.js +3 -1
- package/lib/cjs/tests/api_tests/trigger_contains_matching.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/user_logs_restore_deleted.test.d.ts +3 -1
- package/lib/cjs/tests/api_tests/user_logs_restore_deleted.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/user_logs_restore_deleted.test.js +3 -1
- package/lib/cjs/tests/api_tests/user_logs_restore_deleted.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/vital_review_trigger_action.test.d.ts +3 -1
- package/lib/cjs/tests/api_tests/vital_review_trigger_action.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/vital_review_trigger_action.test.js +3 -1
- package/lib/cjs/tests/api_tests/vital_review_trigger_action.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/vitl_push.test.d.ts +7 -0
- package/lib/cjs/tests/api_tests/vitl_push.test.d.ts.map +1 -0
- package/lib/cjs/tests/api_tests/vitl_push.test.js +341 -0
- package/lib/cjs/tests/api_tests/vitl_push.test.js.map +1 -0
- package/lib/cjs/tests/setup_isolated.d.ts +48 -0
- package/lib/cjs/tests/setup_isolated.d.ts.map +1 -1
- package/lib/cjs/tests/setup_isolated.js +119 -1
- package/lib/cjs/tests/setup_isolated.js.map +1 -1
- package/lib/cjs/tests/tests.d.ts.map +1 -1
- package/lib/cjs/tests/tests.js +374 -292
- package/lib/cjs/tests/tests.js.map +1 -1
- package/lib/cjs/tests/unit_tests/isolated_suite_discovery.test.d.ts +2 -0
- package/lib/cjs/tests/unit_tests/isolated_suite_discovery.test.d.ts.map +1 -0
- package/lib/cjs/tests/unit_tests/isolated_suite_discovery.test.js +201 -0
- package/lib/cjs/tests/unit_tests/isolated_suite_discovery.test.js.map +1 -0
- package/lib/cjs/tests/unit_tests/programs_conditional_logic.test.d.ts +3 -0
- package/lib/cjs/tests/unit_tests/programs_conditional_logic.test.d.ts.map +1 -0
- package/lib/cjs/tests/unit_tests/programs_conditional_logic.test.js +120 -0
- package/lib/cjs/tests/unit_tests/programs_conditional_logic.test.js.map +1 -0
- package/lib/cjs/tests/webhooks_tests.js +44 -34
- package/lib/cjs/tests/webhooks_tests.js.map +1 -1
- package/lib/cjs/tsconfig.cjs.tsbuildinfo +1 -1
- package/lib/esm/sdk.d.ts +373 -3
- package/lib/esm/sdk.d.ts.map +1 -1
- package/lib/esm/sdk.js.map +1 -1
- package/lib/esm/tests/api_tests/booking_prevent_upcoming_duplicate.test.d.ts +22 -0
- package/lib/esm/tests/api_tests/booking_prevent_upcoming_duplicate.test.d.ts.map +1 -0
- package/lib/esm/tests/api_tests/booking_prevent_upcoming_duplicate.test.js +501 -0
- package/lib/esm/tests/api_tests/booking_prevent_upcoming_duplicate.test.js.map +1 -0
- package/lib/esm/tests/api_tests/enduser_fields_sync.test.d.ts +3 -1
- package/lib/esm/tests/api_tests/enduser_fields_sync.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/enduser_fields_sync.test.js +2 -0
- package/lib/esm/tests/api_tests/enduser_fields_sync.test.js.map +1 -1
- package/lib/esm/tests/api_tests/enduser_observations_auto_review.test.d.ts +3 -1
- package/lib/esm/tests/api_tests/enduser_observations_auto_review.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/enduser_observations_auto_review.test.js +2 -0
- package/lib/esm/tests/api_tests/enduser_observations_auto_review.test.js.map +1 -1
- package/lib/esm/tests/api_tests/form_vital_reading.test.d.ts +7 -0
- package/lib/esm/tests/api_tests/form_vital_reading.test.d.ts.map +1 -0
- package/lib/esm/tests/api_tests/form_vital_reading.test.js +456 -0
- package/lib/esm/tests/api_tests/form_vital_reading.test.js.map +1 -0
- package/lib/esm/tests/api_tests/journey_statistics_cache.test.d.ts +26 -0
- package/lib/esm/tests/api_tests/journey_statistics_cache.test.d.ts.map +1 -0
- package/lib/esm/tests/api_tests/journey_statistics_cache.test.js +227 -0
- package/lib/esm/tests/api_tests/journey_statistics_cache.test.js.map +1 -0
- package/lib/esm/tests/api_tests/journey_step_manual_count.test.d.ts +34 -0
- package/lib/esm/tests/api_tests/journey_step_manual_count.test.d.ts.map +1 -0
- package/lib/esm/tests/api_tests/journey_step_manual_count.test.js +238 -0
- package/lib/esm/tests/api_tests/journey_step_manual_count.test.js.map +1 -0
- package/lib/esm/tests/api_tests/load_threads_care_team.test.d.ts +3 -1
- package/lib/esm/tests/api_tests/load_threads_care_team.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/load_threads_care_team.test.js +2 -0
- package/lib/esm/tests/api_tests/load_threads_care_team.test.js.map +1 -1
- package/lib/esm/tests/api_tests/organization_signup.test.d.ts +3 -1
- package/lib/esm/tests/api_tests/organization_signup.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/organization_signup.test.js +2 -0
- package/lib/esm/tests/api_tests/organization_signup.test.js.map +1 -1
- package/lib/esm/tests/api_tests/phone_embed_leave_message.test.d.ts +7 -0
- package/lib/esm/tests/api_tests/phone_embed_leave_message.test.d.ts.map +1 -0
- package/lib/esm/tests/api_tests/phone_embed_leave_message.test.js +566 -0
- package/lib/esm/tests/api_tests/phone_embed_leave_message.test.js.map +1 -0
- package/lib/esm/tests/api_tests/programs.test.d.ts +3 -1
- package/lib/esm/tests/api_tests/programs.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/programs.test.js +72 -16
- package/lib/esm/tests/api_tests/programs.test.js.map +1 -1
- package/lib/esm/tests/api_tests/public_form_case_insensitive_match.test.d.ts +7 -0
- package/lib/esm/tests/api_tests/public_form_case_insensitive_match.test.d.ts.map +1 -0
- package/lib/esm/tests/api_tests/public_form_case_insensitive_match.test.js +728 -0
- package/lib/esm/tests/api_tests/public_form_case_insensitive_match.test.js.map +1 -0
- package/lib/esm/tests/api_tests/security/add-to-journey-foreign-enduserid.test.d.ts +3 -1
- package/lib/esm/tests/api_tests/security/add-to-journey-foreign-enduserid.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/add-to-journey-foreign-enduserid.test.js +2 -0
- package/lib/esm/tests/api_tests/security/add-to-journey-foreign-enduserid.test.js.map +1 -1
- package/lib/esm/tests/api_tests/security/appointment-reschedule-ownership.test.d.ts +3 -1
- package/lib/esm/tests/api_tests/security/appointment-reschedule-ownership.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/appointment-reschedule-ownership.test.js +2 -0
- package/lib/esm/tests/api_tests/security/appointment-reschedule-ownership.test.js.map +1 -1
- package/lib/esm/tests/api_tests/security/file-link-session-confinement.test.d.ts +3 -1
- package/lib/esm/tests/api_tests/security/file-link-session-confinement.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/file-link-session-confinement.test.js +2 -0
- package/lib/esm/tests/api_tests/security/file-link-session-confinement.test.js.map +1 -1
- package/lib/esm/tests/api_tests/security/form-logic-js-execution.test.d.ts +3 -1
- package/lib/esm/tests/api_tests/security/form-logic-js-execution.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/form-logic-js-execution.test.js +2 -0
- package/lib/esm/tests/api_tests/security/form-logic-js-execution.test.js.map +1 -1
- package/lib/esm/tests/api_tests/security/formsort_webhook_auth_field_lock.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/formsort_webhook_auth_field_lock.test.js +424 -39
- package/lib/esm/tests/api_tests/security/formsort_webhook_auth_field_lock.test.js.map +1 -1
- package/lib/esm/tests/api_tests/security/register_business_id_injection.test.js +2 -2
- package/lib/esm/tests/api_tests/security/register_business_id_injection.test.js.map +1 -1
- package/lib/esm/tests/api_tests/security/rich-text-answer-sanitized-on-write.test.d.ts +3 -1
- package/lib/esm/tests/api_tests/security/rich-text-answer-sanitized-on-write.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/rich-text-answer-sanitized-on-write.test.js +2 -0
- package/lib/esm/tests/api_tests/security/rich-text-answer-sanitized-on-write.test.js.map +1 -1
- package/lib/esm/tests/api_tests/session_for_join_link.test.d.ts +10 -0
- package/lib/esm/tests/api_tests/session_for_join_link.test.d.ts.map +1 -0
- package/lib/esm/tests/api_tests/session_for_join_link.test.js +142 -0
- package/lib/esm/tests/api_tests/session_for_join_link.test.js.map +1 -0
- package/lib/esm/tests/api_tests/set_fields_order_templates.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/set_fields_order_templates.test.js +191 -88
- package/lib/esm/tests/api_tests/set_fields_order_templates.test.js.map +1 -1
- package/lib/esm/tests/api_tests/stripe_checkout_items.test.d.ts +17 -0
- package/lib/esm/tests/api_tests/stripe_checkout_items.test.d.ts.map +1 -0
- package/lib/esm/tests/api_tests/stripe_checkout_items.test.js +214 -0
- package/lib/esm/tests/api_tests/stripe_checkout_items.test.js.map +1 -0
- package/lib/esm/tests/api_tests/stripe_multiple_customer_ids.test.d.ts +5 -0
- package/lib/esm/tests/api_tests/stripe_multiple_customer_ids.test.d.ts.map +1 -0
- package/lib/esm/tests/api_tests/stripe_multiple_customer_ids.test.js +388 -0
- package/lib/esm/tests/api_tests/stripe_multiple_customer_ids.test.js.map +1 -0
- package/lib/esm/tests/api_tests/tickets_bulk_assign_from_queue.test.d.ts +3 -1
- package/lib/esm/tests/api_tests/tickets_bulk_assign_from_queue.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/tickets_bulk_assign_from_queue.test.js +2 -0
- package/lib/esm/tests/api_tests/tickets_bulk_assign_from_queue.test.js.map +1 -1
- package/lib/esm/tests/api_tests/totp_mfa.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/totp_mfa.test.js +37 -31
- package/lib/esm/tests/api_tests/totp_mfa.test.js.map +1 -1
- package/lib/esm/tests/api_tests/trigger_contains_matching.test.d.ts +3 -1
- package/lib/esm/tests/api_tests/trigger_contains_matching.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/trigger_contains_matching.test.js +2 -0
- package/lib/esm/tests/api_tests/trigger_contains_matching.test.js.map +1 -1
- package/lib/esm/tests/api_tests/user_logs_restore_deleted.test.d.ts +3 -1
- package/lib/esm/tests/api_tests/user_logs_restore_deleted.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/user_logs_restore_deleted.test.js +2 -0
- package/lib/esm/tests/api_tests/user_logs_restore_deleted.test.js.map +1 -1
- package/lib/esm/tests/api_tests/vital_review_trigger_action.test.d.ts +3 -1
- package/lib/esm/tests/api_tests/vital_review_trigger_action.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/vital_review_trigger_action.test.js +2 -0
- package/lib/esm/tests/api_tests/vital_review_trigger_action.test.js.map +1 -1
- package/lib/esm/tests/api_tests/vitl_push.test.d.ts +7 -0
- package/lib/esm/tests/api_tests/vitl_push.test.d.ts.map +1 -0
- package/lib/esm/tests/api_tests/vitl_push.test.js +333 -0
- package/lib/esm/tests/api_tests/vitl_push.test.js.map +1 -0
- package/lib/esm/tests/setup_isolated.d.ts +48 -0
- package/lib/esm/tests/setup_isolated.d.ts.map +1 -1
- package/lib/esm/tests/setup_isolated.js +114 -0
- package/lib/esm/tests/setup_isolated.js.map +1 -1
- package/lib/esm/tests/tests.d.ts.map +1 -1
- package/lib/esm/tests/tests.js +375 -293
- package/lib/esm/tests/tests.js.map +1 -1
- package/lib/esm/tests/unit_tests/isolated_suite_discovery.test.d.ts +2 -0
- package/lib/esm/tests/unit_tests/isolated_suite_discovery.test.d.ts.map +1 -0
- package/lib/esm/tests/unit_tests/isolated_suite_discovery.test.js +174 -0
- package/lib/esm/tests/unit_tests/isolated_suite_discovery.test.js.map +1 -0
- package/lib/esm/tests/unit_tests/programs_conditional_logic.test.d.ts +3 -0
- package/lib/esm/tests/unit_tests/programs_conditional_logic.test.d.ts.map +1 -0
- package/lib/esm/tests/unit_tests/programs_conditional_logic.test.js +117 -0
- package/lib/esm/tests/unit_tests/programs_conditional_logic.test.js.map +1 -0
- package/lib/esm/tests/webhooks_tests.js +44 -34
- package/lib/esm/tests/webhooks_tests.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +12 -11
- package/src/sdk.ts +3 -2
- package/src/tests/api_tests/booking_prevent_upcoming_duplicate.test.ts +541 -0
- package/src/tests/api_tests/enduser_fields_sync.test.ts +4 -0
- package/src/tests/api_tests/enduser_observations_auto_review.test.ts +4 -0
- package/src/tests/api_tests/form_vital_reading.test.ts +393 -0
- package/src/tests/api_tests/journey_statistics_cache.test.ts +237 -0
- package/src/tests/api_tests/journey_step_manual_count.test.ts +220 -0
- package/src/tests/api_tests/load_threads_care_team.test.ts +4 -0
- package/src/tests/api_tests/organization_signup.test.ts +4 -0
- package/src/tests/api_tests/phone_embed_leave_message.test.ts +541 -0
- package/src/tests/api_tests/programs.test.ts +351 -0
- package/src/tests/api_tests/public_form_case_insensitive_match.test.ts +632 -0
- package/src/tests/api_tests/security/add-to-journey-foreign-enduserid.test.ts +4 -0
- package/src/tests/api_tests/security/appointment-reschedule-ownership.test.ts +4 -0
- package/src/tests/api_tests/security/file-link-session-confinement.test.ts +4 -0
- package/src/tests/api_tests/security/form-logic-js-execution.test.ts +4 -0
- package/src/tests/api_tests/security/formsort_webhook_auth_field_lock.test.ts +225 -0
- package/src/tests/api_tests/security/register_business_id_injection.test.ts +2 -2
- package/src/tests/api_tests/security/rich-text-answer-sanitized-on-write.test.ts +4 -0
- package/src/tests/api_tests/session_for_join_link.test.ts +99 -0
- package/src/tests/api_tests/set_fields_order_templates.test.ts +94 -9
- package/src/tests/api_tests/stripe_checkout_items.test.ts +186 -0
- package/src/tests/api_tests/tickets_bulk_assign_from_queue.test.ts +4 -0
- package/src/tests/api_tests/totp_mfa.test.ts +10 -5
- package/src/tests/api_tests/trigger_contains_matching.test.ts +4 -0
- package/src/tests/api_tests/user_logs_restore_deleted.test.ts +4 -0
- package/src/tests/api_tests/vital_review_trigger_action.test.ts +455 -0
- package/src/tests/api_tests/vitl_push.test.ts +323 -0
- package/src/tests/setup_isolated.ts +140 -0
- package/src/tests/tests.ts +124 -30
- package/src/tests/unit_tests/isolated_suite_discovery.test.ts +178 -0
- package/src/tests/unit_tests/programs_conditional_logic.test.ts +189 -0
- package/src/tests/webhooks_tests.ts +6 -1
- package/test_generated.pdf +0 -0
package/CLAUDE.md
CHANGED
|
@@ -26,6 +26,30 @@ Official TypeScript SDK for integrating with the Tellescope healthcare platform
|
|
|
26
26
|
- `npm run bootstrap` at the repo root provisions a throwaway tenant on a local API (`LOCAL=true`) through `/test-support/provision-tenant` and writes those values to the file without printing them (emails and ids only; `--show-secrets` is an explicit human opt-in); it refuses to replace existing credentials without `--force`, and `--teardown <businessId>` removes the tenant again.
|
|
27
27
|
- `src/tests/setup_isolated.ts` provisions a tenant per test with no configuration at all; prefer it for new tests.
|
|
28
28
|
|
|
29
|
+
## Enrolling an isolated suite in the parallel pool
|
|
30
|
+
An isolated (tenant-provisioned) suite registers itself — **nothing in `src/tests/tests.ts` is edited**, so two branches adding tests no longer collide there. Export the descriptor from the test's own file, next to its asserting wrapper:
|
|
31
|
+
|
|
32
|
+
```typescript
|
|
33
|
+
import { Check, IsolatedSuite, assert_checks, setup_isolated_tenant } from "../setup_isolated"
|
|
34
|
+
|
|
35
|
+
export const my_feature_checks = async (): Promise<Check[]> => { /* collects Check[], tears down in a finally */ }
|
|
36
|
+
|
|
37
|
+
export const my_feature_tests = async () => { assert_checks('My feature', await my_feature_checks()) }
|
|
38
|
+
|
|
39
|
+
/** Enrolls this suite in the auto-discovered parallel pool — see run_discovered_isolated_suites. */
|
|
40
|
+
export const ISOLATED_SUITE: IsolatedSuite = { name: 'My feature', run: my_feature_checks }
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
`run_discovered_isolated_suites()` (called once from `tests.ts`) walks the **compiled** `lib/cjs/tests/api_tests` tree recursively, loads every `*.test.js`, collects the `ISOLATED_SUITE` exports, sorts them by relative path and runs them in batches of `TEST_PARALLELISM` (default 8), asserting after each batch settles.
|
|
44
|
+
|
|
45
|
+
Rules this depends on:
|
|
46
|
+
- `run` must collect `Check[]`, tear its own tenants down in a `finally`, and **never assert** — `assert` calls `process.exit`, which skips every other in-flight suite's teardown and strands its tenants permanently (an organization record cannot be deleted).
|
|
47
|
+
- Isolated suites must never call `sdk.reset_db()`; it clears throttle namespaces shared with concurrent suites.
|
|
48
|
+
- Keep the `if (require.main === module)` guard. Discovery `require()`s every test file, so anything at module scope runs at discovery time.
|
|
49
|
+
- Discovery reads the compiled tree, so a stale `lib/cjs` silently drops a suite. `npm run check:build` (run automatically by `npm test` / `npm run test-api` / `npm run test:modular`) is what catches it, and `unit_tests/isolated_suite_discovery.test.ts` fails the run if a `src` file enrolls a suite that discovery did not find.
|
|
50
|
+
- A suite that enrolls must not also be awaited by name in `tests.ts` — it would run, and provision tenants, twice. The discovery unit test asserts this.
|
|
51
|
+
- `TEST_PARALLELISM` tunes the pool without a rebuild; a non-positive or non-integer value falls back to 8. Above ~8 against a local API, the per-record update throttles start returning 429s that look like failures.
|
|
52
|
+
|
|
29
53
|
## Dependencies
|
|
30
54
|
- @tellescope/schema, @tellescope/types-*
|
|
31
55
|
- axios for HTTP client
|
package/env.example
CHANGED
|
@@ -7,6 +7,12 @@
|
|
|
7
7
|
# The API under test.
|
|
8
8
|
API_URL=http://localhost:8080
|
|
9
9
|
|
|
10
|
+
# How many isolated, tenant-provisioned suites run concurrently in the main API suite (tests.ts).
|
|
11
|
+
# Positive integers only; anything else (0, -1, abc) falls back to the default of 8. Raising it past
|
|
12
|
+
# what the local API can serve shows up as 429s from the per-record update throttles, not as real
|
|
13
|
+
# failures; lower it on a slow box.
|
|
14
|
+
# TEST_PARALLELISM=8
|
|
15
|
+
|
|
10
16
|
# ── Written by `npm run bootstrap` ───────────────────────────────────────────────────────────────
|
|
11
17
|
# A tenant provisioned through the API's test-support endpoints: an Admin, a Non-Admin and one API key.
|
|
12
18
|
TEST_EMAIL=
|
package/lib/cjs/sdk.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { CustomActions, extractFields, PublicActions } from "@tellescope/schema"
|
|
|
4
4
|
import { UserSession, ReadFilter, WebhookSubscriptionsType, Attendee, SearchOptions, AccessPermissions, OrganizationLimits, SortBy, AnalyticsQuery, UserUIRestrictions, UserFieldRedactions, ModelName, CustomDashboardView, DataSyncRecord } from "@tellescope/types-models";
|
|
5
5
|
import { ClientModelForName, ClientModelForName_readonly, ClientModelForName_required, ClientModelForName_updatesDisabled, ChatRoom, Enduser, Meeting, CreateFields, User } from "@tellescope/types-client";
|
|
6
6
|
import { CustomUpdateOptions, SortOption, UserIdentity, FileDetails, ReactNativeFile, SessionType } from "@tellescope/types-utilities";
|
|
7
|
+
import type { Filter } from "mongodb";
|
|
7
8
|
import { Session as SessionManager, SessionOptions } from "./session";
|
|
8
9
|
export * from "./public";
|
|
9
10
|
export * from "./enduser";
|
|
@@ -28,7 +29,7 @@ export interface LoadFunctionArguments<T> {
|
|
|
28
29
|
search?: SearchOptions;
|
|
29
30
|
ids?: string[];
|
|
30
31
|
returnCount?: boolean;
|
|
31
|
-
mdbFilter?:
|
|
32
|
+
mdbFilter?: Filter<T>;
|
|
32
33
|
mdbSort?: any;
|
|
33
34
|
projection?: {
|
|
34
35
|
[K in keyof T]?: 1;
|
|
@@ -49,7 +50,7 @@ export interface APIQuery<N extends keyof ClientModelForName, T = ClientModelFor
|
|
|
49
50
|
created: T[];
|
|
50
51
|
errors: object[];
|
|
51
52
|
}>;
|
|
52
|
-
getOne: (argument: string | ReadFilter<T>, mdbFilter?:
|
|
53
|
+
getOne: (argument: string | ReadFilter<T>, mdbFilter?: Filter<T>) => Promise<T>;
|
|
53
54
|
getSome: LoadFunction<T>;
|
|
54
55
|
getByIds: ({ ids }: {
|
|
55
56
|
ids: string[];
|
|
@@ -797,7 +798,376 @@ export declare const reload_record: <N extends keyof import("@tellescope/types-m
|
|
|
797
798
|
id: string;
|
|
798
799
|
createdAt: Date;
|
|
799
800
|
};
|
|
800
|
-
}[N]>, mdbFilter?:
|
|
801
|
+
}[N]>, mdbFilter?: Filter<{
|
|
802
|
+
inbox_threads: import("@tellescope/types-models").InboxThread & {
|
|
803
|
+
id: string;
|
|
804
|
+
createdAt: Date;
|
|
805
|
+
};
|
|
806
|
+
ai_conversations: import("@tellescope/types-models").AIConversation & {
|
|
807
|
+
id: string;
|
|
808
|
+
createdAt: Date;
|
|
809
|
+
};
|
|
810
|
+
waitlists: import("@tellescope/types-models").Waitlist & {
|
|
811
|
+
id: string;
|
|
812
|
+
createdAt: Date;
|
|
813
|
+
};
|
|
814
|
+
agent_records: import("@tellescope/types-models").AgentRecord & {
|
|
815
|
+
id: string;
|
|
816
|
+
createdAt: Date;
|
|
817
|
+
};
|
|
818
|
+
enduser_eligibility_results: import("@tellescope/types-models").EnduserEligibilityResult & {
|
|
819
|
+
id: string;
|
|
820
|
+
createdAt: Date;
|
|
821
|
+
};
|
|
822
|
+
integration_logs: import("@tellescope/types-models").IntegrationLog & {
|
|
823
|
+
id: string;
|
|
824
|
+
createdAt: Date;
|
|
825
|
+
};
|
|
826
|
+
organization_payments: import("@tellescope/types-models").OrganizationPayment & {
|
|
827
|
+
id: string;
|
|
828
|
+
createdAt: Date;
|
|
829
|
+
};
|
|
830
|
+
allergy_codes: import("@tellescope/types-models").AllergyCode & {
|
|
831
|
+
id: string;
|
|
832
|
+
createdAt: Date;
|
|
833
|
+
};
|
|
834
|
+
diagnosis_codes: import("@tellescope/types-models").DiagnosisCode & {
|
|
835
|
+
id: string;
|
|
836
|
+
createdAt: Date;
|
|
837
|
+
};
|
|
838
|
+
suggested_contacts: import("@tellescope/types-models").SuggestedContact & {
|
|
839
|
+
id: string;
|
|
840
|
+
createdAt: Date;
|
|
841
|
+
};
|
|
842
|
+
call_hold_queues: import("@tellescope/types-models").CallHoldQueue & {
|
|
843
|
+
id: string;
|
|
844
|
+
createdAt: Date;
|
|
845
|
+
};
|
|
846
|
+
fax_logs: import("@tellescope/types-models").FaxLog & {
|
|
847
|
+
id: string;
|
|
848
|
+
createdAt: Date;
|
|
849
|
+
};
|
|
850
|
+
message_template_snippets: import("@tellescope/types-models").MessageTemplateSnippet & {
|
|
851
|
+
id: string;
|
|
852
|
+
createdAt: Date;
|
|
853
|
+
};
|
|
854
|
+
portal_brandings: import("@tellescope/types-models").PortalBranding & {
|
|
855
|
+
id: string;
|
|
856
|
+
createdAt: Date;
|
|
857
|
+
};
|
|
858
|
+
form_groups: import("@tellescope/types-models").FormGroup & {
|
|
859
|
+
id: string;
|
|
860
|
+
createdAt: Date;
|
|
861
|
+
};
|
|
862
|
+
webhook_logs: import("@tellescope/types-models").WebhookLog & {
|
|
863
|
+
id: string;
|
|
864
|
+
createdAt: Date;
|
|
865
|
+
};
|
|
866
|
+
flowchart_notes: import("@tellescope/types-models").FlowchartNote & {
|
|
867
|
+
id: string;
|
|
868
|
+
createdAt: Date;
|
|
869
|
+
};
|
|
870
|
+
enduser_problems: import("@tellescope/types-models").EnduserProblem & {
|
|
871
|
+
id: string;
|
|
872
|
+
createdAt: Date;
|
|
873
|
+
};
|
|
874
|
+
prescription_routes: import("@tellescope/types-models").PrescriptionRoute & {
|
|
875
|
+
id: string;
|
|
876
|
+
createdAt: Date;
|
|
877
|
+
};
|
|
878
|
+
blocked_phones: import("@tellescope/types-models").BlockedPhone & {
|
|
879
|
+
id: string;
|
|
880
|
+
createdAt: Date;
|
|
881
|
+
};
|
|
882
|
+
vital_configurations: import("@tellescope/types-models").VitalConfiguration & {
|
|
883
|
+
id: string;
|
|
884
|
+
createdAt: Date;
|
|
885
|
+
};
|
|
886
|
+
enduser_encounters: import("@tellescope/types-models").EnduserEncounter & {
|
|
887
|
+
id: string;
|
|
888
|
+
createdAt: Date;
|
|
889
|
+
};
|
|
890
|
+
enduser_orders: import("@tellescope/types-models").EnduserOrder & {
|
|
891
|
+
id: string;
|
|
892
|
+
createdAt: Date;
|
|
893
|
+
};
|
|
894
|
+
group_mms_conversations: import("@tellescope/types-models").GroupMMSConversation & {
|
|
895
|
+
id: string;
|
|
896
|
+
createdAt: Date;
|
|
897
|
+
};
|
|
898
|
+
ticket_queues: import("@tellescope/types-models").TicketQueue & {
|
|
899
|
+
id: string;
|
|
900
|
+
createdAt: Date;
|
|
901
|
+
};
|
|
902
|
+
configurations: import("@tellescope/types-models").Configuration & {
|
|
903
|
+
id: string;
|
|
904
|
+
createdAt: Date;
|
|
905
|
+
};
|
|
906
|
+
ticket_threads: import("@tellescope/types-models").TicketThread & {
|
|
907
|
+
id: string;
|
|
908
|
+
createdAt: Date;
|
|
909
|
+
};
|
|
910
|
+
ticket_thread_comments: import("@tellescope/types-models").TicketThreadComment & {
|
|
911
|
+
id: string;
|
|
912
|
+
createdAt: Date;
|
|
913
|
+
};
|
|
914
|
+
enduser_custom_types: import("@tellescope/types-models").EnduserCustomType & {
|
|
915
|
+
id: string;
|
|
916
|
+
createdAt: Date;
|
|
917
|
+
};
|
|
918
|
+
phone_trees: import("@tellescope/types-models").PhoneTree & {
|
|
919
|
+
id: string;
|
|
920
|
+
createdAt: Date;
|
|
921
|
+
};
|
|
922
|
+
enduser_medications: import("@tellescope/types-models").EnduserMedication & {
|
|
923
|
+
id: string;
|
|
924
|
+
createdAt: Date;
|
|
925
|
+
};
|
|
926
|
+
superbill_providers: import("@tellescope/types-models").SuperbillProvider & {
|
|
927
|
+
id: string;
|
|
928
|
+
createdAt: Date;
|
|
929
|
+
};
|
|
930
|
+
superbills: import("@tellescope/types-models").Superbill & {
|
|
931
|
+
id: string;
|
|
932
|
+
createdAt: Date;
|
|
933
|
+
};
|
|
934
|
+
automation_triggers: import("@tellescope/types-models").AutomationTrigger & {
|
|
935
|
+
id: string;
|
|
936
|
+
createdAt: Date;
|
|
937
|
+
};
|
|
938
|
+
background_errors: import("@tellescope/types-models").BackgroundError & {
|
|
939
|
+
id: string;
|
|
940
|
+
createdAt: Date;
|
|
941
|
+
};
|
|
942
|
+
enduser_views: import("@tellescope/types-models").EnduserView & {
|
|
943
|
+
id: string;
|
|
944
|
+
createdAt: Date;
|
|
945
|
+
};
|
|
946
|
+
availability_blocks: import("@tellescope/types-models").AvailabilityBlock & {
|
|
947
|
+
id: string;
|
|
948
|
+
createdAt: Date;
|
|
949
|
+
};
|
|
950
|
+
analytics_frames: import("@tellescope/types-models").AnalyticsFrame & {
|
|
951
|
+
id: string;
|
|
952
|
+
createdAt: Date;
|
|
953
|
+
};
|
|
954
|
+
endusers: import("@tellescope/types-models").Enduser & {
|
|
955
|
+
id: string;
|
|
956
|
+
createdAt: Date;
|
|
957
|
+
};
|
|
958
|
+
engagement_events: import("@tellescope/types-models").EngagementEvent & {
|
|
959
|
+
id: string;
|
|
960
|
+
createdAt: Date;
|
|
961
|
+
};
|
|
962
|
+
journeys: import("@tellescope/types-models").Journey & {
|
|
963
|
+
id: string;
|
|
964
|
+
createdAt: Date;
|
|
965
|
+
};
|
|
966
|
+
api_keys: import("@tellescope/types-models").APIKey & {
|
|
967
|
+
id: string;
|
|
968
|
+
createdAt: Date;
|
|
969
|
+
};
|
|
970
|
+
emails: import("@tellescope/types-models").Email & {
|
|
971
|
+
id: string;
|
|
972
|
+
createdAt: Date;
|
|
973
|
+
};
|
|
974
|
+
sms_messages: import("@tellescope/types-models").SMSMessage & {
|
|
975
|
+
id: string;
|
|
976
|
+
createdAt: Date;
|
|
977
|
+
};
|
|
978
|
+
chat_rooms: import("@tellescope/types-models").ChatRoom & {
|
|
979
|
+
id: string;
|
|
980
|
+
createdAt: Date;
|
|
981
|
+
};
|
|
982
|
+
chats: import("@tellescope/types-models").ChatMessage & {
|
|
983
|
+
id: string;
|
|
984
|
+
createdAt: Date;
|
|
985
|
+
};
|
|
986
|
+
users: import("@tellescope/types-models").User & {
|
|
987
|
+
id: string;
|
|
988
|
+
createdAt: Date;
|
|
989
|
+
};
|
|
990
|
+
templates: import("@tellescope/types-models").MessageTemplate & {
|
|
991
|
+
id: string;
|
|
992
|
+
createdAt: Date;
|
|
993
|
+
};
|
|
994
|
+
files: import("@tellescope/types-models").File & {
|
|
995
|
+
id: string;
|
|
996
|
+
createdAt: Date;
|
|
997
|
+
};
|
|
998
|
+
tickets: import("@tellescope/types-models").Ticket & {
|
|
999
|
+
id: string;
|
|
1000
|
+
createdAt: Date;
|
|
1001
|
+
};
|
|
1002
|
+
ticket_templates: import("@tellescope/types-models").TicketTemplate & {
|
|
1003
|
+
id: string;
|
|
1004
|
+
createdAt: Date;
|
|
1005
|
+
};
|
|
1006
|
+
meetings: import("@tellescope/types-models").Meeting & {
|
|
1007
|
+
id: string;
|
|
1008
|
+
createdAt: Date;
|
|
1009
|
+
};
|
|
1010
|
+
notes: import("@tellescope/types-models").Note & {
|
|
1011
|
+
id: string;
|
|
1012
|
+
createdAt: Date;
|
|
1013
|
+
};
|
|
1014
|
+
forms: import("@tellescope/types-models").Form & {
|
|
1015
|
+
id: string;
|
|
1016
|
+
createdAt: Date;
|
|
1017
|
+
};
|
|
1018
|
+
form_fields: import("@tellescope/types-models").FormField & {
|
|
1019
|
+
id: string;
|
|
1020
|
+
createdAt: Date;
|
|
1021
|
+
};
|
|
1022
|
+
form_responses: import("@tellescope/types-models").FormResponse & {
|
|
1023
|
+
id: string;
|
|
1024
|
+
createdAt: Date;
|
|
1025
|
+
};
|
|
1026
|
+
calendar_events: import("@tellescope/types-models").CalendarEvent & {
|
|
1027
|
+
id: string;
|
|
1028
|
+
createdAt: Date;
|
|
1029
|
+
};
|
|
1030
|
+
calendar_event_templates: import("@tellescope/types-models").CalendarEventTemplate & {
|
|
1031
|
+
id: string;
|
|
1032
|
+
createdAt: Date;
|
|
1033
|
+
};
|
|
1034
|
+
calendar_event_RSVPs: import("@tellescope/types-models").CalendarEventRSVP & {
|
|
1035
|
+
id: string;
|
|
1036
|
+
createdAt: Date;
|
|
1037
|
+
};
|
|
1038
|
+
automation_steps: import("@tellescope/types-models").AutomationStep & {
|
|
1039
|
+
id: string;
|
|
1040
|
+
createdAt: Date;
|
|
1041
|
+
};
|
|
1042
|
+
automated_actions: import("@tellescope/types-models").AutomatedAction & {
|
|
1043
|
+
id: string;
|
|
1044
|
+
createdAt: Date;
|
|
1045
|
+
};
|
|
1046
|
+
webhooks: import("@tellescope/types-models").WebHook & {
|
|
1047
|
+
id: string;
|
|
1048
|
+
createdAt: Date;
|
|
1049
|
+
};
|
|
1050
|
+
user_logs: import("@tellescope/types-models").UserLog & {
|
|
1051
|
+
id: string;
|
|
1052
|
+
createdAt: Date;
|
|
1053
|
+
};
|
|
1054
|
+
user_notifications: import("@tellescope/types-models").UserNotification & {
|
|
1055
|
+
id: string;
|
|
1056
|
+
createdAt: Date;
|
|
1057
|
+
};
|
|
1058
|
+
enduser_status_updates: import("@tellescope/types-models").EnduserStatusUpdate & {
|
|
1059
|
+
id: string;
|
|
1060
|
+
createdAt: Date;
|
|
1061
|
+
};
|
|
1062
|
+
enduser_observations: import("@tellescope/types-models").EnduserObservation & {
|
|
1063
|
+
id: string;
|
|
1064
|
+
createdAt: Date;
|
|
1065
|
+
};
|
|
1066
|
+
managed_content_records: import("@tellescope/types-models").ManagedContentRecord & {
|
|
1067
|
+
id: string;
|
|
1068
|
+
createdAt: Date;
|
|
1069
|
+
};
|
|
1070
|
+
managed_content_record_assignments: import("@tellescope/types-models").ManagedContentRecordAssignment & {
|
|
1071
|
+
id: string;
|
|
1072
|
+
createdAt: Date;
|
|
1073
|
+
};
|
|
1074
|
+
forums: import("@tellescope/types-models").Forum & {
|
|
1075
|
+
id: string;
|
|
1076
|
+
createdAt: Date;
|
|
1077
|
+
};
|
|
1078
|
+
forum_posts: import("@tellescope/types-models").ForumPost & {
|
|
1079
|
+
id: string;
|
|
1080
|
+
createdAt: Date;
|
|
1081
|
+
};
|
|
1082
|
+
post_likes: import("@tellescope/types-models").PostLike & {
|
|
1083
|
+
id: string;
|
|
1084
|
+
createdAt: Date;
|
|
1085
|
+
};
|
|
1086
|
+
comment_likes: import("@tellescope/types-models").CommentLike & {
|
|
1087
|
+
id: string;
|
|
1088
|
+
createdAt: Date;
|
|
1089
|
+
};
|
|
1090
|
+
post_comments: import("@tellescope/types-models").PostComment & {
|
|
1091
|
+
id: string;
|
|
1092
|
+
createdAt: Date;
|
|
1093
|
+
};
|
|
1094
|
+
organizations: import("@tellescope/types-models").Organization & {
|
|
1095
|
+
id: string;
|
|
1096
|
+
createdAt: Date;
|
|
1097
|
+
};
|
|
1098
|
+
integrations: import("@tellescope/types-models").Integration & {
|
|
1099
|
+
id: string;
|
|
1100
|
+
createdAt: Date;
|
|
1101
|
+
};
|
|
1102
|
+
databases: import("@tellescope/types-models").Database & {
|
|
1103
|
+
id: string;
|
|
1104
|
+
createdAt: Date;
|
|
1105
|
+
};
|
|
1106
|
+
database_records: import("@tellescope/types-models").DatabaseRecord & {
|
|
1107
|
+
id: string;
|
|
1108
|
+
createdAt: Date;
|
|
1109
|
+
};
|
|
1110
|
+
portal_customizations: import("@tellescope/types-models").PortalCustomization & {
|
|
1111
|
+
id: string;
|
|
1112
|
+
createdAt: Date;
|
|
1113
|
+
};
|
|
1114
|
+
enduser_tasks: import("@tellescope/types-models").EnduserTask & {
|
|
1115
|
+
id: string;
|
|
1116
|
+
createdAt: Date;
|
|
1117
|
+
};
|
|
1118
|
+
care_plans: import("@tellescope/types-models").CarePlan & {
|
|
1119
|
+
id: string;
|
|
1120
|
+
createdAt: Date;
|
|
1121
|
+
};
|
|
1122
|
+
role_based_access_permissions: import("@tellescope/types-models").RoleBasedAccessPermission & {
|
|
1123
|
+
id: string;
|
|
1124
|
+
createdAt: Date;
|
|
1125
|
+
};
|
|
1126
|
+
appointment_booking_pages: import("@tellescope/types-models").AppointmentBookingPage & {
|
|
1127
|
+
id: string;
|
|
1128
|
+
createdAt: Date;
|
|
1129
|
+
};
|
|
1130
|
+
appointment_locations: import("@tellescope/types-models").AppointmentLocation & {
|
|
1131
|
+
id: string;
|
|
1132
|
+
createdAt: Date;
|
|
1133
|
+
};
|
|
1134
|
+
products: import("@tellescope/types-models").Product & {
|
|
1135
|
+
id: string;
|
|
1136
|
+
createdAt: Date;
|
|
1137
|
+
};
|
|
1138
|
+
purchases: import("@tellescope/types-models").Purchase & {
|
|
1139
|
+
id: string;
|
|
1140
|
+
createdAt: Date;
|
|
1141
|
+
};
|
|
1142
|
+
purchase_credits: import("@tellescope/types-models").PurchaseCredit & {
|
|
1143
|
+
id: string;
|
|
1144
|
+
createdAt: Date;
|
|
1145
|
+
};
|
|
1146
|
+
phone_calls: import("@tellescope/types-models").PhoneCall & {
|
|
1147
|
+
id: string;
|
|
1148
|
+
createdAt: Date;
|
|
1149
|
+
};
|
|
1150
|
+
enduser_profile_views: import("@tellescope/types-models").EnduserProfileView & {
|
|
1151
|
+
id: string;
|
|
1152
|
+
createdAt: Date;
|
|
1153
|
+
};
|
|
1154
|
+
custom_dashboards: import("@tellescope/types-models").CustomDashboard & {
|
|
1155
|
+
id: string;
|
|
1156
|
+
createdAt: Date;
|
|
1157
|
+
};
|
|
1158
|
+
table_views: import("@tellescope/types-models").TableView & {
|
|
1159
|
+
id: string;
|
|
1160
|
+
createdAt: Date;
|
|
1161
|
+
};
|
|
1162
|
+
email_sync_denials: import("@tellescope/types-models").EmailSyncDenial & {
|
|
1163
|
+
id: string;
|
|
1164
|
+
createdAt: Date;
|
|
1165
|
+
};
|
|
1166
|
+
time_tracks: import("@tellescope/types-models").TimeTrack & {
|
|
1167
|
+
id: string;
|
|
1168
|
+
createdAt: Date;
|
|
1169
|
+
};
|
|
1170
|
+
}[N]> | undefined) => Promise<{
|
|
801
1171
|
inbox_threads: import("@tellescope/types-models").InboxThread & {
|
|
802
1172
|
id: string;
|
|
803
1173
|
createdAt: Date;
|