@tellescope/sdk 2.0.0-beta.1 → 2.0.0-beta.3
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 +375 -4
- package/lib/cjs/sdk.d.ts.map +1 -1
- package/lib/cjs/sdk.js +5 -0
- package/lib/cjs/sdk.js.map +1 -1
- package/lib/cjs/tests/api_tests/ai_conversations.test.d.ts +14 -5
- package/lib/cjs/tests/api_tests/ai_conversations.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/ai_conversations.test.js +163 -149
- package/lib/cjs/tests/api_tests/ai_conversations.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/ai_conversations_agent_message.test.d.ts +22 -0
- package/lib/cjs/tests/api_tests/ai_conversations_agent_message.test.d.ts.map +1 -0
- package/lib/cjs/tests/api_tests/ai_conversations_agent_message.test.js +518 -0
- package/lib/cjs/tests/api_tests/ai_conversations_agent_message.test.js.map +1 -0
- package/lib/cjs/tests/api_tests/appointment_link_expiration.test.d.ts +6 -5
- package/lib/cjs/tests/api_tests/appointment_link_expiration.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/appointment_link_expiration.test.js +135 -73
- package/lib/cjs/tests/api_tests/appointment_link_expiration.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/appointment_no_showed_trigger.test.d.ts +6 -5
- package/lib/cjs/tests/api_tests/appointment_no_showed_trigger.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/appointment_no_showed_trigger.test.js +240 -174
- package/lib/cjs/tests/api_tests/appointment_no_showed_trigger.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/availability_block_buffer.test.d.ts +22 -0
- package/lib/cjs/tests/api_tests/availability_block_buffer.test.d.ts.map +1 -0
- package/lib/cjs/tests/api_tests/availability_block_buffer.test.js +311 -0
- package/lib/cjs/tests/api_tests/availability_block_buffer.test.js.map +1 -0
- package/lib/cjs/tests/api_tests/beluga_manual_sync.test.d.ts +6 -5
- package/lib/cjs/tests/api_tests/beluga_manual_sync.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/beluga_manual_sync.test.js +235 -192
- package/lib/cjs/tests/api_tests/beluga_manual_sync.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/beluga_trigger_refill.test.d.ts +6 -5
- package/lib/cjs/tests/api_tests/beluga_trigger_refill.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/beluga_trigger_refill.test.js +351 -264
- package/lib/cjs/tests/api_tests/beluga_trigger_refill.test.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/bulk_assignment.test.d.ts +16 -5
- package/lib/cjs/tests/api_tests/bulk_assignment.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/bulk_assignment.test.js +336 -243
- package/lib/cjs/tests/api_tests/bulk_assignment.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/calendar_event_references_update.test.d.ts +13 -5
- package/lib/cjs/tests/api_tests/calendar_event_references_update.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/calendar_event_references_update.test.js +131 -108
- package/lib/cjs/tests/api_tests/calendar_event_references_update.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/calendar_event_webhook_template.test.d.ts +15 -5
- package/lib/cjs/tests/api_tests/calendar_event_webhook_template.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/calendar_event_webhook_template.test.js +240 -252
- package/lib/cjs/tests/api_tests/calendar_event_webhook_template.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/chats_analytics.test.d.ts +14 -5
- package/lib/cjs/tests/api_tests/chats_analytics.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/chats_analytics.test.js +190 -189
- package/lib/cjs/tests/api_tests/chats_analytics.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/concurrent_build_threads.test.d.ts +23 -5
- package/lib/cjs/tests/api_tests/concurrent_build_threads.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/concurrent_build_threads.test.js +121 -118
- package/lib/cjs/tests/api_tests/concurrent_build_threads.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/configurations_public_read.test.d.ts +21 -5
- package/lib/cjs/tests/api_tests/configurations_public_read.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/configurations_public_read.test.js +235 -119
- package/lib/cjs/tests/api_tests/configurations_public_read.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/copied_form_response_no_enduser_sync.test.d.ts +7 -0
- package/lib/cjs/tests/api_tests/copied_form_response_no_enduser_sync.test.d.ts.map +1 -0
- package/lib/cjs/tests/api_tests/copied_form_response_no_enduser_sync.test.js +356 -0
- package/lib/cjs/tests/api_tests/copied_form_response_no_enduser_sync.test.js.map +1 -0
- package/lib/cjs/tests/api_tests/create_note_action.test.d.ts +18 -5
- package/lib/cjs/tests/api_tests/create_note_action.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/create_note_action.test.js +218 -173
- package/lib/cjs/tests/api_tests/create_note_action.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/create_user_notifications_trigger.test.d.ts +17 -4
- package/lib/cjs/tests/api_tests/create_user_notifications_trigger.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/create_user_notifications_trigger.test.js +144 -205
- package/lib/cjs/tests/api_tests/create_user_notifications_trigger.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/custom_aggregation.test.d.ts +15 -5
- package/lib/cjs/tests/api_tests/custom_aggregation.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/custom_aggregation.test.js +284 -223
- package/lib/cjs/tests/api_tests/custom_aggregation.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/database_cascade_delete.test.d.ts +13 -5
- package/lib/cjs/tests/api_tests/database_cascade_delete.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/database_cascade_delete.test.js +218 -242
- package/lib/cjs/tests/api_tests/database_cascade_delete.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/dont_sync_to_elation_form_submission.test.d.ts +21 -5
- package/lib/cjs/tests/api_tests/dont_sync_to_elation_form_submission.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/dont_sync_to_elation_form_submission.test.js +168 -112
- package/lib/cjs/tests/api_tests/dont_sync_to_elation_form_submission.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/elation_user_id.test.d.ts +17 -5
- package/lib/cjs/tests/api_tests/elation_user_id.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/elation_user_id.test.js +121 -54
- package/lib/cjs/tests/api_tests/elation_user_id.test.js.map +1 -1
- 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/file_download_unicode_names.test.d.ts +6 -5
- package/lib/cjs/tests/api_tests/file_download_unicode_names.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/file_download_unicode_names.test.js +193 -143
- package/lib/cjs/tests/api_tests/file_download_unicode_names.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/form_intake_email_normalization.test.d.ts +7 -0
- package/lib/cjs/tests/api_tests/form_intake_email_normalization.test.d.ts.map +1 -0
- package/lib/cjs/tests/api_tests/form_intake_email_normalization.test.js +532 -0
- package/lib/cjs/tests/api_tests/form_intake_email_normalization.test.js.map +1 -0
- package/lib/cjs/tests/api_tests/form_submitted_trigger.test.d.ts +25 -5
- package/lib/cjs/tests/api_tests/form_submitted_trigger.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/form_submitted_trigger.test.js +395 -366
- package/lib/cjs/tests/api_tests/form_submitted_trigger.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/form_translations.test.d.ts +6 -5
- package/lib/cjs/tests/api_tests/form_translations.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/form_translations.test.js +269 -189
- package/lib/cjs/tests/api_tests/form_translations.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/formsort_header_auth.test.d.ts +29 -5
- package/lib/cjs/tests/api_tests/formsort_header_auth.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/formsort_header_auth.test.js +179 -162
- package/lib/cjs/tests/api_tests/formsort_header_auth.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/gcal_sync_retry.test.d.ts +12 -6
- package/lib/cjs/tests/api_tests/gcal_sync_retry.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/gcal_sync_retry.test.js +98 -84
- package/lib/cjs/tests/api_tests/gcal_sync_retry.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/get_some_projection.test.d.ts +20 -5
- package/lib/cjs/tests/api_tests/get_some_projection.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/get_some_projection.test.js +342 -298
- package/lib/cjs/tests/api_tests/get_some_projection.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/group_event_attendee_self_update.test.d.ts +6 -5
- package/lib/cjs/tests/api_tests/group_event_attendee_self_update.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/group_event_attendee_self_update.test.js +294 -223
- package/lib/cjs/tests/api_tests/group_event_attendee_self_update.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/integrations_redacted.test.d.ts +6 -5
- package/lib/cjs/tests/api_tests/integrations_redacted.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/integrations_redacted.test.js +307 -213
- package/lib/cjs/tests/api_tests/integrations_redacted.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/journey_delete_cancels_actions.test.d.ts +6 -5
- package/lib/cjs/tests/api_tests/journey_delete_cancels_actions.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/journey_delete_cancels_actions.test.js +179 -178
- package/lib/cjs/tests/api_tests/journey_delete_cancels_actions.test.js.map +1 -1
- 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_team_chat.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/load_team_chat.test.js +181 -124
- package/lib/cjs/tests/api_tests/load_team_chat.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/load_threads_autobuild.test.d.ts +24 -5
- package/lib/cjs/tests/api_tests/load_threads_autobuild.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/load_threads_autobuild.test.js +261 -227
- package/lib/cjs/tests/api_tests/load_threads_autobuild.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/load_threads_care_team.test.d.ts +9 -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 +118 -32
- package/lib/cjs/tests/api_tests/load_threads_care_team.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/managed_content_file_access.test.d.ts +15 -5
- package/lib/cjs/tests/api_tests/managed_content_file_access.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/managed_content_file_access.test.js +285 -311
- package/lib/cjs/tests/api_tests/managed_content_file_access.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/mdb_sort.test.d.ts +20 -5
- package/lib/cjs/tests/api_tests/mdb_sort.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/mdb_sort.test.js +361 -305
- package/lib/cjs/tests/api_tests/mdb_sort.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/mdi_manual_sync.test.d.ts +27 -0
- package/lib/cjs/tests/api_tests/mdi_manual_sync.test.d.ts.map +1 -0
- package/lib/cjs/tests/api_tests/mdi_manual_sync.test.js +395 -0
- package/lib/cjs/tests/api_tests/mdi_manual_sync.test.js.map +1 -0
- package/lib/cjs/tests/api_tests/mdi_trigger_refill.test.d.ts +6 -5
- package/lib/cjs/tests/api_tests/mdi_trigger_refill.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/mdi_trigger_refill.test.js +259 -209
- package/lib/cjs/tests/api_tests/mdi_trigger_refill.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/mdi_webhooks.test.d.ts +12 -5
- package/lib/cjs/tests/api_tests/mdi_webhooks.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/mdi_webhooks.test.js +67 -61
- package/lib/cjs/tests/api_tests/mdi_webhooks.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/message_assignment_trigger.test.d.ts +23 -14
- package/lib/cjs/tests/api_tests/message_assignment_trigger.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/message_assignment_trigger.test.js +258 -306
- package/lib/cjs/tests/api_tests/message_assignment_trigger.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/metriport_push_form_response.test.d.ts +6 -5
- package/lib/cjs/tests/api_tests/metriport_push_form_response.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/metriport_push_form_response.test.js +301 -238
- package/lib/cjs/tests/api_tests/metriport_push_form_response.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/organization_api_keys.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/organization_api_keys.test.js +226 -59
- package/lib/cjs/tests/api_tests/organization_api_keys.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/organization_settings_duplicates.test.d.ts +19 -5
- package/lib/cjs/tests/api_tests/organization_settings_duplicates.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/organization_settings_duplicates.test.js +335 -222
- package/lib/cjs/tests/api_tests/organization_settings_duplicates.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 +221 -52
- package/lib/cjs/tests/api_tests/organization_signup.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/out_of_office_endpoint.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/out_of_office_endpoint.test.js +109 -1
- package/lib/cjs/tests/api_tests/out_of_office_endpoint.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/outbound_chat_sent_trigger.test.d.ts +6 -6
- package/lib/cjs/tests/api_tests/outbound_chat_sent_trigger.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/outbound_chat_sent_trigger.test.js +309 -361
- package/lib/cjs/tests/api_tests/outbound_chat_sent_trigger.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/phone_calls_cold_transfer.test.d.ts +6 -5
- package/lib/cjs/tests/api_tests/phone_calls_cold_transfer.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/phone_calls_cold_transfer.test.js +246 -165
- package/lib/cjs/tests/api_tests/phone_calls_cold_transfer.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/phone_calls_conference_hold.test.d.ts +15 -5
- package/lib/cjs/tests/api_tests/phone_calls_conference_hold.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/phone_calls_conference_hold.test.js +130 -47
- package/lib/cjs/tests/api_tests/phone_calls_conference_hold.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/phone_tree_enduser_condition.test.d.ts +6 -5
- package/lib/cjs/tests/api_tests/phone_tree_enduser_condition.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/phone_tree_enduser_condition.test.js +180 -132
- package/lib/cjs/tests/api_tests/phone_tree_enduser_condition.test.js.map +1 -1
- 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 +474 -51
- 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/ai-conversations-rbac.test.d.ts +10 -5
- package/lib/cjs/tests/api_tests/security/ai-conversations-rbac.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/ai-conversations-rbac.test.js +401 -282
- package/lib/cjs/tests/api_tests/security/ai-conversations-rbac.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/automated-actions-process-gate.test.d.ts +9 -5
- package/lib/cjs/tests/api_tests/security/automated-actions-process-gate.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/automated-actions-process-gate.test.js +228 -211
- package/lib/cjs/tests/api_tests/security/automated-actions-process-gate.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/security/booking-info-idor-token-mint.test.d.ts +13 -8
- package/lib/cjs/tests/api_tests/security/booking-info-idor-token-mint.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/booking-info-idor-token-mint.test.js +270 -254
- package/lib/cjs/tests/api_tests/security/booking-info-idor-token-mint.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/security/cascade-role-rename-cross-tenant.test.d.ts +16 -6
- package/lib/cjs/tests/api_tests/security/cascade-role-rename-cross-tenant.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/cascade-role-rename-cross-tenant.test.js +167 -142
- package/lib/cjs/tests/api_tests/security/cascade-role-rename-cross-tenant.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/security/data-sync-redaction-bypass.test.d.ts +10 -5
- package/lib/cjs/tests/api_tests/security/data-sync-redaction-bypass.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/data-sync-redaction-bypass.test.js +296 -221
- package/lib/cjs/tests/api_tests/security/data-sync-redaction-bypass.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/security/develop-health-benefit-verification-rbac.test.d.ts +12 -5
- package/lib/cjs/tests/api_tests/security/develop-health-benefit-verification-rbac.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/develop-health-benefit-verification-rbac.test.js +221 -216
- package/lib/cjs/tests/api_tests/security/develop-health-benefit-verification-rbac.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/security/enduser-ai-summary-trust-gate.test.d.ts +11 -5
- package/lib/cjs/tests/api_tests/security/enduser-ai-summary-trust-gate.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/enduser-ai-summary-trust-gate.test.js +300 -203
- package/lib/cjs/tests/api_tests/security/enduser-ai-summary-trust-gate.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/security/enduser-cross-create.test.d.ts +11 -5
- package/lib/cjs/tests/api_tests/security/enduser-cross-create.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/enduser-cross-create.test.js +415 -275
- package/lib/cjs/tests/api_tests/security/enduser-cross-create.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/security/enduser-write-restrictions.test.d.ts +11 -5
- package/lib/cjs/tests/api_tests/security/enduser-write-restrictions.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/enduser-write-restrictions.test.js +347 -228
- package/lib/cjs/tests/api_tests/security/enduser-write-restrictions.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/globalunique-conflict-redaction.test.d.ts +18 -7
- package/lib/cjs/tests/api_tests/security/globalunique-conflict-redaction.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/globalunique-conflict-redaction.test.js +164 -75
- package/lib/cjs/tests/api_tests/security/globalunique-conflict-redaction.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/security/handle-incoming-communication-cross-tenant.test.d.ts +15 -9
- package/lib/cjs/tests/api_tests/security/handle-incoming-communication-cross-tenant.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/handle-incoming-communication-cross-tenant.test.js +99 -102
- package/lib/cjs/tests/api_tests/security/handle-incoming-communication-cross-tenant.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/security/load-inbox-redaction.test.d.ts +11 -5
- package/lib/cjs/tests/api_tests/security/load-inbox-redaction.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/load-inbox-redaction.test.js +132 -89
- package/lib/cjs/tests/api_tests/security/load-inbox-redaction.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/security/proxy-image-unauth-ssrf.test.d.ts +12 -5
- package/lib/cjs/tests/api_tests/security/proxy-image-unauth-ssrf.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/proxy-image-unauth-ssrf.test.js +190 -138
- package/lib/cjs/tests/api_tests/security/proxy-image-unauth-ssrf.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/security/register_business_id_injection.test.d.ts +18 -16
- package/lib/cjs/tests/api_tests/security/register_business_id_injection.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/register_business_id_injection.test.js +164 -124
- 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/security/sanitize-user-html-with-iframes.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/sanitize-user-html-with-iframes.test.js +122 -2
- package/lib/cjs/tests/api_tests/security/sanitize-user-html-with-iframes.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/security/schema-adminonly-enforcement.test.d.ts +11 -5
- package/lib/cjs/tests/api_tests/security/schema-adminonly-enforcement.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/schema-adminonly-enforcement.test.js +288 -274
- package/lib/cjs/tests/api_tests/security/schema-adminonly-enforcement.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/security/self-admin-role-assignment.test.d.ts +17 -10
- package/lib/cjs/tests/api_tests/security/self-admin-role-assignment.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/self-admin-role-assignment.test.js +173 -138
- package/lib/cjs/tests/api_tests/security/self-admin-role-assignment.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/security/startlinktoken-enduser-staff-escalation.test.d.ts +6 -5
- package/lib/cjs/tests/api_tests/security/startlinktoken-enduser-staff-escalation.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/startlinktoken-enduser-staff-escalation.test.js +310 -265
- package/lib/cjs/tests/api_tests/security/startlinktoken-enduser-staff-escalation.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/security/webhook-timeout.test.d.ts +9 -5
- package/lib/cjs/tests/api_tests/security/webhook-timeout.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/security/webhook-timeout.test.js +108 -83
- package/lib/cjs/tests/api_tests/security/webhook-timeout.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/stedi_approval.test.d.ts +6 -5
- package/lib/cjs/tests/api_tests/stedi_approval.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/stedi_approval.test.js +206 -137
- package/lib/cjs/tests/api_tests/stedi_approval.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/ticket_stage_archive.test.d.ts +7 -0
- package/lib/cjs/tests/api_tests/ticket_stage_archive.test.d.ts.map +1 -0
- package/lib/cjs/tests/api_tests/ticket_stage_archive.test.js +344 -0
- package/lib/cjs/tests/api_tests/ticket_stage_archive.test.js.map +1 -0
- package/lib/cjs/tests/api_tests/tickets_bulk_assign_care_team.test.d.ts +6 -5
- package/lib/cjs/tests/api_tests/tickets_bulk_assign_care_team.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/tickets_bulk_assign_care_team.test.js +165 -149
- package/lib/cjs/tests/api_tests/tickets_bulk_assign_care_team.test.js.map +1 -1
- 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/translations.test.d.ts +6 -5
- package/lib/cjs/tests/api_tests/translations.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/translations.test.js +104 -75
- package/lib/cjs/tests/api_tests/translations.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/trigger_set_fields_date_difference.test.d.ts +21 -4
- package/lib/cjs/tests/api_tests/trigger_set_fields_date_difference.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/trigger_set_fields_date_difference.test.js +238 -370
- package/lib/cjs/tests/api_tests/trigger_set_fields_date_difference.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/user_preferences.test.d.ts +30 -0
- package/lib/cjs/tests/api_tests/user_preferences.test.d.ts.map +1 -0
- package/lib/cjs/tests/api_tests/user_preferences.test.js +279 -0
- package/lib/cjs/tests/api_tests/user_preferences.test.js.map +1 -0
- 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/api_tests/webhook_error_handling.test.d.ts +17 -5
- package/lib/cjs/tests/api_tests/webhook_error_handling.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/webhook_error_handling.test.js +204 -195
- package/lib/cjs/tests/api_tests/webhook_error_handling.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/webhook_raw_json_number.test.d.ts +15 -5
- package/lib/cjs/tests/api_tests/webhook_raw_json_number.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/webhook_raw_json_number.test.js +154 -179
- package/lib/cjs/tests/api_tests/webhook_raw_json_number.test.js.map +1 -1
- package/lib/cjs/tests/api_tests/welle_partner_token.test.d.ts +6 -5
- package/lib/cjs/tests/api_tests/welle_partner_token.test.d.ts.map +1 -1
- package/lib/cjs/tests/api_tests/welle_partner_token.test.js +393 -251
- package/lib/cjs/tests/api_tests/welle_partner_token.test.js.map +1 -1
- package/lib/cjs/tests/setup_isolated.d.ts +55 -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 +385 -535
- package/lib/cjs/tests/tests.js.map +1 -1
- package/lib/cjs/tests/unit_tests/date_string_validation.test.d.ts +2 -0
- package/lib/cjs/tests/unit_tests/date_string_validation.test.d.ts.map +1 -0
- package/lib/cjs/tests/unit_tests/date_string_validation.test.js +112 -0
- package/lib/cjs/tests/unit_tests/date_string_validation.test.js.map +1 -0
- 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 +375 -4
- package/lib/esm/sdk.d.ts.map +1 -1
- package/lib/esm/sdk.js +5 -0
- package/lib/esm/sdk.js.map +1 -1
- package/lib/esm/tests/api_tests/ai_conversations.test.d.ts +14 -5
- package/lib/esm/tests/api_tests/ai_conversations.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/ai_conversations.test.js +161 -148
- package/lib/esm/tests/api_tests/ai_conversations.test.js.map +1 -1
- package/lib/esm/tests/api_tests/ai_conversations_agent_message.test.d.ts +22 -0
- package/lib/esm/tests/api_tests/ai_conversations_agent_message.test.d.ts.map +1 -0
- package/lib/esm/tests/api_tests/ai_conversations_agent_message.test.js +510 -0
- package/lib/esm/tests/api_tests/ai_conversations_agent_message.test.js.map +1 -0
- package/lib/esm/tests/api_tests/appointment_link_expiration.test.d.ts +6 -5
- package/lib/esm/tests/api_tests/appointment_link_expiration.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/appointment_link_expiration.test.js +132 -71
- package/lib/esm/tests/api_tests/appointment_link_expiration.test.js.map +1 -1
- package/lib/esm/tests/api_tests/appointment_no_showed_trigger.test.d.ts +6 -5
- package/lib/esm/tests/api_tests/appointment_no_showed_trigger.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/appointment_no_showed_trigger.test.js +238 -173
- package/lib/esm/tests/api_tests/appointment_no_showed_trigger.test.js.map +1 -1
- package/lib/esm/tests/api_tests/availability_block_buffer.test.d.ts +22 -0
- package/lib/esm/tests/api_tests/availability_block_buffer.test.d.ts.map +1 -0
- package/lib/esm/tests/api_tests/availability_block_buffer.test.js +306 -0
- package/lib/esm/tests/api_tests/availability_block_buffer.test.js.map +1 -0
- package/lib/esm/tests/api_tests/beluga_manual_sync.test.d.ts +6 -5
- package/lib/esm/tests/api_tests/beluga_manual_sync.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/beluga_manual_sync.test.js +232 -190
- package/lib/esm/tests/api_tests/beluga_manual_sync.test.js.map +1 -1
- package/lib/esm/tests/api_tests/beluga_trigger_refill.test.d.ts +6 -5
- package/lib/esm/tests/api_tests/beluga_trigger_refill.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/beluga_trigger_refill.test.js +348 -262
- package/lib/esm/tests/api_tests/beluga_trigger_refill.test.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/bulk_assignment.test.d.ts +16 -5
- package/lib/esm/tests/api_tests/bulk_assignment.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/bulk_assignment.test.js +333 -241
- package/lib/esm/tests/api_tests/bulk_assignment.test.js.map +1 -1
- package/lib/esm/tests/api_tests/calendar_event_references_update.test.d.ts +13 -5
- package/lib/esm/tests/api_tests/calendar_event_references_update.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/calendar_event_references_update.test.js +129 -107
- package/lib/esm/tests/api_tests/calendar_event_references_update.test.js.map +1 -1
- package/lib/esm/tests/api_tests/calendar_event_webhook_template.test.d.ts +15 -5
- package/lib/esm/tests/api_tests/calendar_event_webhook_template.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/calendar_event_webhook_template.test.js +238 -251
- package/lib/esm/tests/api_tests/calendar_event_webhook_template.test.js.map +1 -1
- package/lib/esm/tests/api_tests/chats_analytics.test.d.ts +14 -5
- package/lib/esm/tests/api_tests/chats_analytics.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/chats_analytics.test.js +188 -188
- package/lib/esm/tests/api_tests/chats_analytics.test.js.map +1 -1
- package/lib/esm/tests/api_tests/concurrent_build_threads.test.d.ts +23 -5
- package/lib/esm/tests/api_tests/concurrent_build_threads.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/concurrent_build_threads.test.js +119 -117
- package/lib/esm/tests/api_tests/concurrent_build_threads.test.js.map +1 -1
- package/lib/esm/tests/api_tests/configurations_public_read.test.d.ts +21 -5
- package/lib/esm/tests/api_tests/configurations_public_read.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/configurations_public_read.test.js +233 -118
- package/lib/esm/tests/api_tests/configurations_public_read.test.js.map +1 -1
- package/lib/esm/tests/api_tests/copied_form_response_no_enduser_sync.test.d.ts +7 -0
- package/lib/esm/tests/api_tests/copied_form_response_no_enduser_sync.test.d.ts.map +1 -0
- package/lib/esm/tests/api_tests/copied_form_response_no_enduser_sync.test.js +351 -0
- package/lib/esm/tests/api_tests/copied_form_response_no_enduser_sync.test.js.map +1 -0
- package/lib/esm/tests/api_tests/create_note_action.test.d.ts +18 -5
- package/lib/esm/tests/api_tests/create_note_action.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/create_note_action.test.js +216 -172
- package/lib/esm/tests/api_tests/create_note_action.test.js.map +1 -1
- package/lib/esm/tests/api_tests/create_user_notifications_trigger.test.d.ts +17 -4
- package/lib/esm/tests/api_tests/create_user_notifications_trigger.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/create_user_notifications_trigger.test.js +141 -203
- package/lib/esm/tests/api_tests/create_user_notifications_trigger.test.js.map +1 -1
- package/lib/esm/tests/api_tests/custom_aggregation.test.d.ts +15 -5
- package/lib/esm/tests/api_tests/custom_aggregation.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/custom_aggregation.test.js +282 -222
- package/lib/esm/tests/api_tests/custom_aggregation.test.js.map +1 -1
- package/lib/esm/tests/api_tests/database_cascade_delete.test.d.ts +13 -5
- package/lib/esm/tests/api_tests/database_cascade_delete.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/database_cascade_delete.test.js +216 -241
- package/lib/esm/tests/api_tests/database_cascade_delete.test.js.map +1 -1
- package/lib/esm/tests/api_tests/dont_sync_to_elation_form_submission.test.d.ts +21 -5
- package/lib/esm/tests/api_tests/dont_sync_to_elation_form_submission.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/dont_sync_to_elation_form_submission.test.js +165 -110
- package/lib/esm/tests/api_tests/dont_sync_to_elation_form_submission.test.js.map +1 -1
- package/lib/esm/tests/api_tests/elation_user_id.test.d.ts +17 -5
- package/lib/esm/tests/api_tests/elation_user_id.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/elation_user_id.test.js +119 -53
- package/lib/esm/tests/api_tests/elation_user_id.test.js.map +1 -1
- 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/file_download_unicode_names.test.d.ts +6 -5
- package/lib/esm/tests/api_tests/file_download_unicode_names.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/file_download_unicode_names.test.js +190 -141
- package/lib/esm/tests/api_tests/file_download_unicode_names.test.js.map +1 -1
- package/lib/esm/tests/api_tests/form_intake_email_normalization.test.d.ts +7 -0
- package/lib/esm/tests/api_tests/form_intake_email_normalization.test.d.ts.map +1 -0
- package/lib/esm/tests/api_tests/form_intake_email_normalization.test.js +527 -0
- package/lib/esm/tests/api_tests/form_intake_email_normalization.test.js.map +1 -0
- package/lib/esm/tests/api_tests/form_submitted_trigger.test.d.ts +25 -5
- package/lib/esm/tests/api_tests/form_submitted_trigger.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/form_submitted_trigger.test.js +393 -365
- package/lib/esm/tests/api_tests/form_submitted_trigger.test.js.map +1 -1
- package/lib/esm/tests/api_tests/form_translations.test.d.ts +6 -5
- package/lib/esm/tests/api_tests/form_translations.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/form_translations.test.js +268 -189
- package/lib/esm/tests/api_tests/form_translations.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/formsort_header_auth.test.d.ts +29 -5
- package/lib/esm/tests/api_tests/formsort_header_auth.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/formsort_header_auth.test.js +177 -161
- package/lib/esm/tests/api_tests/formsort_header_auth.test.js.map +1 -1
- package/lib/esm/tests/api_tests/gcal_sync_retry.test.d.ts +12 -6
- package/lib/esm/tests/api_tests/gcal_sync_retry.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/gcal_sync_retry.test.js +96 -83
- package/lib/esm/tests/api_tests/gcal_sync_retry.test.js.map +1 -1
- package/lib/esm/tests/api_tests/get_some_projection.test.d.ts +20 -5
- package/lib/esm/tests/api_tests/get_some_projection.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/get_some_projection.test.js +339 -296
- package/lib/esm/tests/api_tests/get_some_projection.test.js.map +1 -1
- package/lib/esm/tests/api_tests/group_event_attendee_self_update.test.d.ts +6 -5
- package/lib/esm/tests/api_tests/group_event_attendee_self_update.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/group_event_attendee_self_update.test.js +292 -222
- package/lib/esm/tests/api_tests/group_event_attendee_self_update.test.js.map +1 -1
- package/lib/esm/tests/api_tests/integrations_redacted.test.d.ts +6 -5
- package/lib/esm/tests/api_tests/integrations_redacted.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/integrations_redacted.test.js +304 -211
- package/lib/esm/tests/api_tests/integrations_redacted.test.js.map +1 -1
- package/lib/esm/tests/api_tests/journey_delete_cancels_actions.test.d.ts +6 -5
- package/lib/esm/tests/api_tests/journey_delete_cancels_actions.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/journey_delete_cancels_actions.test.js +177 -154
- package/lib/esm/tests/api_tests/journey_delete_cancels_actions.test.js.map +1 -1
- 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_team_chat.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/load_team_chat.test.js +181 -124
- package/lib/esm/tests/api_tests/load_team_chat.test.js.map +1 -1
- package/lib/esm/tests/api_tests/load_threads_autobuild.test.d.ts +24 -5
- package/lib/esm/tests/api_tests/load_threads_autobuild.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/load_threads_autobuild.test.js +259 -226
- package/lib/esm/tests/api_tests/load_threads_autobuild.test.js.map +1 -1
- package/lib/esm/tests/api_tests/load_threads_care_team.test.d.ts +9 -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 +117 -31
- package/lib/esm/tests/api_tests/load_threads_care_team.test.js.map +1 -1
- package/lib/esm/tests/api_tests/managed_content_file_access.test.d.ts +15 -5
- package/lib/esm/tests/api_tests/managed_content_file_access.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/managed_content_file_access.test.js +283 -287
- package/lib/esm/tests/api_tests/managed_content_file_access.test.js.map +1 -1
- package/lib/esm/tests/api_tests/mdb_sort.test.d.ts +20 -5
- package/lib/esm/tests/api_tests/mdb_sort.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/mdb_sort.test.js +358 -303
- package/lib/esm/tests/api_tests/mdb_sort.test.js.map +1 -1
- package/lib/esm/tests/api_tests/mdi_manual_sync.test.d.ts +27 -0
- package/lib/esm/tests/api_tests/mdi_manual_sync.test.d.ts.map +1 -0
- package/lib/esm/tests/api_tests/mdi_manual_sync.test.js +390 -0
- package/lib/esm/tests/api_tests/mdi_manual_sync.test.js.map +1 -0
- package/lib/esm/tests/api_tests/mdi_trigger_refill.test.d.ts +6 -5
- package/lib/esm/tests/api_tests/mdi_trigger_refill.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/mdi_trigger_refill.test.js +257 -208
- package/lib/esm/tests/api_tests/mdi_trigger_refill.test.js.map +1 -1
- package/lib/esm/tests/api_tests/mdi_webhooks.test.d.ts +12 -5
- package/lib/esm/tests/api_tests/mdi_webhooks.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/mdi_webhooks.test.js +65 -60
- package/lib/esm/tests/api_tests/mdi_webhooks.test.js.map +1 -1
- package/lib/esm/tests/api_tests/message_assignment_trigger.test.d.ts +23 -14
- package/lib/esm/tests/api_tests/message_assignment_trigger.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/message_assignment_trigger.test.js +256 -305
- package/lib/esm/tests/api_tests/message_assignment_trigger.test.js.map +1 -1
- package/lib/esm/tests/api_tests/metriport_push_form_response.test.d.ts +6 -5
- package/lib/esm/tests/api_tests/metriport_push_form_response.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/metriport_push_form_response.test.js +298 -236
- package/lib/esm/tests/api_tests/metriport_push_form_response.test.js.map +1 -1
- package/lib/esm/tests/api_tests/organization_api_keys.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/organization_api_keys.test.js +226 -59
- package/lib/esm/tests/api_tests/organization_api_keys.test.js.map +1 -1
- package/lib/esm/tests/api_tests/organization_settings_duplicates.test.d.ts +19 -5
- package/lib/esm/tests/api_tests/organization_settings_duplicates.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/organization_settings_duplicates.test.js +332 -220
- package/lib/esm/tests/api_tests/organization_settings_duplicates.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 +220 -51
- package/lib/esm/tests/api_tests/organization_signup.test.js.map +1 -1
- package/lib/esm/tests/api_tests/out_of_office_endpoint.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/out_of_office_endpoint.test.js +109 -1
- package/lib/esm/tests/api_tests/out_of_office_endpoint.test.js.map +1 -1
- package/lib/esm/tests/api_tests/outbound_chat_sent_trigger.test.d.ts +6 -6
- package/lib/esm/tests/api_tests/outbound_chat_sent_trigger.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/outbound_chat_sent_trigger.test.js +308 -361
- package/lib/esm/tests/api_tests/outbound_chat_sent_trigger.test.js.map +1 -1
- package/lib/esm/tests/api_tests/phone_calls_cold_transfer.test.d.ts +6 -5
- package/lib/esm/tests/api_tests/phone_calls_cold_transfer.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/phone_calls_cold_transfer.test.js +243 -163
- package/lib/esm/tests/api_tests/phone_calls_cold_transfer.test.js.map +1 -1
- package/lib/esm/tests/api_tests/phone_calls_conference_hold.test.d.ts +15 -5
- package/lib/esm/tests/api_tests/phone_calls_conference_hold.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/phone_calls_conference_hold.test.js +127 -45
- package/lib/esm/tests/api_tests/phone_calls_conference_hold.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/phone_tree_enduser_condition.test.d.ts +6 -5
- package/lib/esm/tests/api_tests/phone_tree_enduser_condition.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/phone_tree_enduser_condition.test.js +177 -130
- package/lib/esm/tests/api_tests/phone_tree_enduser_condition.test.js.map +1 -1
- 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 +473 -50
- 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/ai-conversations-rbac.test.d.ts +10 -5
- package/lib/esm/tests/api_tests/security/ai-conversations-rbac.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/ai-conversations-rbac.test.js +399 -281
- package/lib/esm/tests/api_tests/security/ai-conversations-rbac.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/automated-actions-process-gate.test.d.ts +9 -5
- package/lib/esm/tests/api_tests/security/automated-actions-process-gate.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/automated-actions-process-gate.test.js +225 -209
- package/lib/esm/tests/api_tests/security/automated-actions-process-gate.test.js.map +1 -1
- package/lib/esm/tests/api_tests/security/booking-info-idor-token-mint.test.d.ts +13 -8
- package/lib/esm/tests/api_tests/security/booking-info-idor-token-mint.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/booking-info-idor-token-mint.test.js +268 -253
- package/lib/esm/tests/api_tests/security/booking-info-idor-token-mint.test.js.map +1 -1
- package/lib/esm/tests/api_tests/security/cascade-role-rename-cross-tenant.test.d.ts +16 -6
- package/lib/esm/tests/api_tests/security/cascade-role-rename-cross-tenant.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/cascade-role-rename-cross-tenant.test.js +165 -141
- package/lib/esm/tests/api_tests/security/cascade-role-rename-cross-tenant.test.js.map +1 -1
- package/lib/esm/tests/api_tests/security/data-sync-redaction-bypass.test.d.ts +10 -5
- package/lib/esm/tests/api_tests/security/data-sync-redaction-bypass.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/data-sync-redaction-bypass.test.js +294 -220
- package/lib/esm/tests/api_tests/security/data-sync-redaction-bypass.test.js.map +1 -1
- package/lib/esm/tests/api_tests/security/develop-health-benefit-verification-rbac.test.d.ts +12 -5
- package/lib/esm/tests/api_tests/security/develop-health-benefit-verification-rbac.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/develop-health-benefit-verification-rbac.test.js +219 -215
- package/lib/esm/tests/api_tests/security/develop-health-benefit-verification-rbac.test.js.map +1 -1
- package/lib/esm/tests/api_tests/security/enduser-ai-summary-trust-gate.test.d.ts +11 -5
- package/lib/esm/tests/api_tests/security/enduser-ai-summary-trust-gate.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/enduser-ai-summary-trust-gate.test.js +298 -202
- package/lib/esm/tests/api_tests/security/enduser-ai-summary-trust-gate.test.js.map +1 -1
- package/lib/esm/tests/api_tests/security/enduser-cross-create.test.d.ts +11 -5
- package/lib/esm/tests/api_tests/security/enduser-cross-create.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/enduser-cross-create.test.js +413 -274
- package/lib/esm/tests/api_tests/security/enduser-cross-create.test.js.map +1 -1
- package/lib/esm/tests/api_tests/security/enduser-write-restrictions.test.d.ts +11 -5
- package/lib/esm/tests/api_tests/security/enduser-write-restrictions.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/enduser-write-restrictions.test.js +345 -227
- package/lib/esm/tests/api_tests/security/enduser-write-restrictions.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/globalunique-conflict-redaction.test.d.ts +18 -7
- package/lib/esm/tests/api_tests/security/globalunique-conflict-redaction.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/globalunique-conflict-redaction.test.js +162 -74
- package/lib/esm/tests/api_tests/security/globalunique-conflict-redaction.test.js.map +1 -1
- package/lib/esm/tests/api_tests/security/handle-incoming-communication-cross-tenant.test.d.ts +15 -9
- package/lib/esm/tests/api_tests/security/handle-incoming-communication-cross-tenant.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/handle-incoming-communication-cross-tenant.test.js +96 -100
- package/lib/esm/tests/api_tests/security/handle-incoming-communication-cross-tenant.test.js.map +1 -1
- package/lib/esm/tests/api_tests/security/load-inbox-redaction.test.d.ts +11 -5
- package/lib/esm/tests/api_tests/security/load-inbox-redaction.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/load-inbox-redaction.test.js +129 -87
- package/lib/esm/tests/api_tests/security/load-inbox-redaction.test.js.map +1 -1
- package/lib/esm/tests/api_tests/security/proxy-image-unauth-ssrf.test.d.ts +12 -5
- package/lib/esm/tests/api_tests/security/proxy-image-unauth-ssrf.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/proxy-image-unauth-ssrf.test.js +187 -136
- package/lib/esm/tests/api_tests/security/proxy-image-unauth-ssrf.test.js.map +1 -1
- package/lib/esm/tests/api_tests/security/register_business_id_injection.test.d.ts +18 -16
- package/lib/esm/tests/api_tests/security/register_business_id_injection.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/register_business_id_injection.test.js +162 -123
- 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/security/sanitize-user-html-with-iframes.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/sanitize-user-html-with-iframes.test.js +122 -2
- package/lib/esm/tests/api_tests/security/sanitize-user-html-with-iframes.test.js.map +1 -1
- package/lib/esm/tests/api_tests/security/schema-adminonly-enforcement.test.d.ts +11 -5
- package/lib/esm/tests/api_tests/security/schema-adminonly-enforcement.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/schema-adminonly-enforcement.test.js +285 -272
- package/lib/esm/tests/api_tests/security/schema-adminonly-enforcement.test.js.map +1 -1
- package/lib/esm/tests/api_tests/security/self-admin-role-assignment.test.d.ts +17 -10
- package/lib/esm/tests/api_tests/security/self-admin-role-assignment.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/self-admin-role-assignment.test.js +171 -137
- package/lib/esm/tests/api_tests/security/self-admin-role-assignment.test.js.map +1 -1
- package/lib/esm/tests/api_tests/security/startlinktoken-enduser-staff-escalation.test.d.ts +6 -5
- package/lib/esm/tests/api_tests/security/startlinktoken-enduser-staff-escalation.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/startlinktoken-enduser-staff-escalation.test.js +307 -263
- package/lib/esm/tests/api_tests/security/startlinktoken-enduser-staff-escalation.test.js.map +1 -1
- package/lib/esm/tests/api_tests/security/webhook-timeout.test.d.ts +9 -5
- package/lib/esm/tests/api_tests/security/webhook-timeout.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/security/webhook-timeout.test.js +105 -81
- package/lib/esm/tests/api_tests/security/webhook-timeout.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/stedi_approval.test.d.ts +6 -5
- package/lib/esm/tests/api_tests/stedi_approval.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/stedi_approval.test.js +204 -136
- package/lib/esm/tests/api_tests/stedi_approval.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/ticket_stage_archive.test.d.ts +7 -0
- package/lib/esm/tests/api_tests/ticket_stage_archive.test.d.ts.map +1 -0
- package/lib/esm/tests/api_tests/ticket_stage_archive.test.js +339 -0
- package/lib/esm/tests/api_tests/ticket_stage_archive.test.js.map +1 -0
- package/lib/esm/tests/api_tests/tickets_bulk_assign_care_team.test.d.ts +6 -5
- package/lib/esm/tests/api_tests/tickets_bulk_assign_care_team.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/tickets_bulk_assign_care_team.test.js +162 -147
- package/lib/esm/tests/api_tests/tickets_bulk_assign_care_team.test.js.map +1 -1
- 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/translations.test.d.ts +6 -5
- package/lib/esm/tests/api_tests/translations.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/translations.test.js +102 -74
- package/lib/esm/tests/api_tests/translations.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/trigger_set_fields_date_difference.test.d.ts +21 -4
- package/lib/esm/tests/api_tests/trigger_set_fields_date_difference.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/trigger_set_fields_date_difference.test.js +236 -369
- package/lib/esm/tests/api_tests/trigger_set_fields_date_difference.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/user_preferences.test.d.ts +30 -0
- package/lib/esm/tests/api_tests/user_preferences.test.d.ts.map +1 -0
- package/lib/esm/tests/api_tests/user_preferences.test.js +274 -0
- package/lib/esm/tests/api_tests/user_preferences.test.js.map +1 -0
- 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/api_tests/webhook_error_handling.test.d.ts +17 -5
- package/lib/esm/tests/api_tests/webhook_error_handling.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/webhook_error_handling.test.js +202 -194
- package/lib/esm/tests/api_tests/webhook_error_handling.test.js.map +1 -1
- package/lib/esm/tests/api_tests/webhook_raw_json_number.test.d.ts +15 -5
- package/lib/esm/tests/api_tests/webhook_raw_json_number.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/webhook_raw_json_number.test.js +152 -178
- package/lib/esm/tests/api_tests/webhook_raw_json_number.test.js.map +1 -1
- package/lib/esm/tests/api_tests/welle_partner_token.test.d.ts +6 -5
- package/lib/esm/tests/api_tests/welle_partner_token.test.d.ts.map +1 -1
- package/lib/esm/tests/api_tests/welle_partner_token.test.js +391 -250
- package/lib/esm/tests/api_tests/welle_partner_token.test.js.map +1 -1
- package/lib/esm/tests/setup_isolated.d.ts +55 -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 +386 -536
- package/lib/esm/tests/tests.js.map +1 -1
- package/lib/esm/tests/unit_tests/date_string_validation.test.d.ts +2 -0
- package/lib/esm/tests/unit_tests/date_string_validation.test.d.ts.map +1 -0
- package/lib/esm/tests/unit_tests/date_string_validation.test.js +108 -0
- package/lib/esm/tests/unit_tests/date_string_validation.test.js.map +1 -0
- 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 +14 -2
- package/src/tests/api_tests/ai_conversations.test.ts +170 -138
- package/src/tests/api_tests/ai_conversations_agent_message.test.ts +491 -0
- package/src/tests/api_tests/appointment_link_expiration.test.ts +94 -35
- package/src/tests/api_tests/appointment_no_showed_trigger.test.ts +181 -128
- package/src/tests/api_tests/availability_block_buffer.test.ts +286 -0
- package/src/tests/api_tests/beluga_manual_sync.test.ts +103 -53
- package/src/tests/api_tests/beluga_trigger_refill.test.ts +131 -46
- package/src/tests/api_tests/booking_prevent_upcoming_duplicate.test.ts +541 -0
- package/src/tests/api_tests/bulk_assignment.test.ts +307 -220
- package/src/tests/api_tests/calendar_event_references_update.test.ts +97 -54
- package/src/tests/api_tests/calendar_event_webhook_template.test.ts +198 -158
- package/src/tests/api_tests/chats_analytics.test.ts +161 -123
- package/src/tests/api_tests/concurrent_build_threads.test.ts +80 -69
- package/src/tests/api_tests/configurations_public_read.test.ts +154 -67
- package/src/tests/api_tests/copied_form_response_no_enduser_sync.test.ts +307 -0
- package/src/tests/api_tests/create_note_action.test.ts +149 -70
- package/src/tests/api_tests/create_user_notifications_trigger.test.ts +116 -144
- package/src/tests/api_tests/custom_aggregation.test.ts +163 -92
- package/src/tests/api_tests/database_cascade_delete.test.ts +101 -87
- package/src/tests/api_tests/dont_sync_to_elation_form_submission.test.ts +122 -51
- package/src/tests/api_tests/elation_user_id.test.ts +105 -42
- 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/file_download_unicode_names.test.ts +171 -122
- package/src/tests/api_tests/form_intake_email_normalization.test.ts +489 -0
- package/src/tests/api_tests/form_submitted_trigger.test.ts +152 -86
- package/src/tests/api_tests/form_translations.test.ts +117 -48
- package/src/tests/api_tests/form_vital_reading.test.ts +393 -0
- package/src/tests/api_tests/formsort_header_auth.test.ts +147 -97
- package/src/tests/api_tests/gcal_sync_retry.test.ts +71 -49
- package/src/tests/api_tests/get_some_projection.test.ts +333 -169
- package/src/tests/api_tests/group_event_attendee_self_update.test.ts +103 -52
- package/src/tests/api_tests/integrations_redacted.test.ts +161 -84
- package/src/tests/api_tests/journey_delete_cancels_actions.test.ts +93 -64
- 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_team_chat.test.ts +62 -6
- package/src/tests/api_tests/load_threads_autobuild.test.ts +163 -67
- package/src/tests/api_tests/load_threads_care_team.test.ts +107 -0
- package/src/tests/api_tests/managed_content_file_access.test.ts +132 -108
- package/src/tests/api_tests/mdb_sort.test.ts +247 -161
- package/src/tests/api_tests/mdi_manual_sync.test.ts +277 -0
- package/src/tests/api_tests/mdi_trigger_refill.test.ts +132 -78
- package/src/tests/api_tests/mdi_webhooks.test.ts +52 -22
- package/src/tests/api_tests/message_assignment_trigger.test.ts +129 -155
- package/src/tests/api_tests/metriport_push_form_response.test.ts +109 -49
- package/src/tests/api_tests/organization_api_keys.test.ts +170 -2
- package/src/tests/api_tests/organization_settings_duplicates.test.ts +291 -181
- package/src/tests/api_tests/organization_signup.test.ts +174 -5
- package/src/tests/api_tests/out_of_office_endpoint.test.ts +98 -0
- package/src/tests/api_tests/outbound_chat_sent_trigger.test.ts +163 -175
- package/src/tests/api_tests/phone_calls_cold_transfer.test.ts +195 -133
- package/src/tests/api_tests/phone_calls_conference_hold.test.ts +112 -42
- package/src/tests/api_tests/phone_embed_leave_message.test.ts +541 -0
- package/src/tests/api_tests/phone_tree_enduser_condition.test.ts +81 -32
- package/src/tests/api_tests/programs.test.ts +701 -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/ai-conversations-rbac.test.ts +248 -128
- package/src/tests/api_tests/security/appointment-reschedule-ownership.test.ts +4 -0
- package/src/tests/api_tests/security/automated-actions-process-gate.test.ts +47 -42
- package/src/tests/api_tests/security/booking-info-idor-token-mint.test.ts +53 -45
- package/src/tests/api_tests/security/cascade-role-rename-cross-tenant.test.ts +100 -73
- package/src/tests/api_tests/security/data-sync-redaction-bypass.test.ts +125 -59
- package/src/tests/api_tests/security/develop-health-benefit-verification-rbac.test.ts +131 -103
- package/src/tests/api_tests/security/enduser-ai-summary-trust-gate.test.ts +161 -68
- package/src/tests/api_tests/security/enduser-cross-create.test.ts +200 -61
- package/src/tests/api_tests/security/enduser-write-restrictions.test.ts +179 -61
- 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/globalunique-conflict-redaction.test.ts +163 -44
- package/src/tests/api_tests/security/handle-incoming-communication-cross-tenant.test.ts +78 -70
- package/src/tests/api_tests/security/load-inbox-redaction.test.ts +79 -44
- package/src/tests/api_tests/security/proxy-image-unauth-ssrf.test.ts +95 -52
- package/src/tests/api_tests/security/register_business_id_injection.test.ts +132 -93
- package/src/tests/api_tests/security/rich-text-answer-sanitized-on-write.test.ts +4 -0
- package/src/tests/api_tests/security/sanitize-user-html-with-iframes.test.ts +127 -0
- package/src/tests/api_tests/security/schema-adminonly-enforcement.test.ts +42 -37
- package/src/tests/api_tests/security/self-admin-role-assignment.test.ts +92 -54
- package/src/tests/api_tests/security/startlinktoken-enduser-staff-escalation.test.ts +76 -34
- package/src/tests/api_tests/security/webhook-timeout.test.ts +67 -36
- 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/stedi_approval.test.ts +156 -90
- package/src/tests/api_tests/stripe_checkout_items.test.ts +186 -0
- package/src/tests/api_tests/ticket_stage_archive.test.ts +314 -0
- package/src/tests/api_tests/tickets_bulk_assign_care_team.test.ts +138 -103
- 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/translations.test.ts +69 -46
- package/src/tests/api_tests/trigger_contains_matching.test.ts +4 -0
- package/src/tests/api_tests/trigger_set_fields_date_difference.test.ts +198 -256
- package/src/tests/api_tests/user_logs_restore_deleted.test.ts +4 -0
- package/src/tests/api_tests/user_preferences.test.ts +227 -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/api_tests/webhook_error_handling.test.ts +121 -60
- package/src/tests/api_tests/webhook_raw_json_number.test.ts +127 -109
- package/src/tests/api_tests/welle_partner_token.test.ts +217 -90
- package/src/tests/setup_isolated.ts +147 -0
- package/src/tests/tests.ts +165 -177
- package/src/tests/{api_tests → unit_tests}/date_string_validation.test.ts +2 -23
- 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/src/tests/tests.ts
CHANGED
|
@@ -37,31 +37,17 @@ import {
|
|
|
37
37
|
|
|
38
38
|
import { Session, APIQuery, EnduserSession } from "../sdk"
|
|
39
39
|
import { enduser_observations_acknowledge_tests } from "./api_tests/enduser_observations_acknowledge.test"
|
|
40
|
-
import { translations_tests } from "./api_tests/translations.test"
|
|
41
|
-
import { configurations_public_read_tests } from "./api_tests/configurations_public_read.test"
|
|
42
|
-
import { form_translations_tests } from "./api_tests/form_translations.test"
|
|
43
40
|
import { embeddables_auth_token_tests } from "./api_tests/embeddables_auth_token.test"
|
|
44
41
|
import { user_portal_settings_tests } from "./api_tests/user_portal_settings.test"
|
|
45
|
-
import { integrations_redacted_tests } from "./api_tests/integrations_redacted.test"
|
|
46
|
-
import { welle_partner_token_tests } from "./api_tests/welle_partner_token.test"
|
|
47
42
|
import { healthie_multi_integration_tests } from "./api_tests/healthie_multi_integration.test"
|
|
48
|
-
import { get_some_projection_tests } from "./api_tests/get_some_projection.test"
|
|
49
|
-
import { file_download_unicode_names_tests } from "./api_tests/file_download_unicode_names.test"
|
|
50
|
-
import { mdb_sort_tests } from "./api_tests/mdb_sort.test"
|
|
51
|
-
import { create_user_notifications_trigger_tests } from "./api_tests/create_user_notifications_trigger.test"
|
|
52
43
|
import { inbox_thread_assignment_updates_tests } from "./api_tests/inbox_thread_assignment_updates.test"
|
|
53
44
|
import { inbox_thread_draft_scheduled_tests } from "./api_tests/inbox_thread_draft_scheduled.test"
|
|
54
|
-
import { load_threads_autobuild_tests } from "./api_tests/load_threads_autobuild.test"
|
|
55
|
-
import { concurrent_build_threads_tests } from "./api_tests/concurrent_build_threads.test"
|
|
56
45
|
import { appointment_completed_trigger_tests } from "./api_tests/appointment_completed_trigger.test"
|
|
57
46
|
import { purchase_made_trigger_tests } from "./api_tests/purchase_made_trigger.test"
|
|
58
47
|
import { appointment_rescheduled_trigger_tests } from "./api_tests/appointment_rescheduled_trigger.test"
|
|
59
|
-
import { appointment_no_showed_trigger_tests } from "./api_tests/appointment_no_showed_trigger.test"
|
|
60
48
|
import { group_event_attendee_status_triggers_tests } from "./api_tests/group_event_attendee_status_triggers.test"
|
|
61
|
-
import { group_event_attendee_self_update_tests } from "./api_tests/group_event_attendee_self_update.test"
|
|
62
49
|
import { calendar_event_create_and_bulk_triggers_tests } from "./api_tests/calendar_event_create_and_bulk_triggers.test"
|
|
63
50
|
import { journey_error_branching_tests } from "./api_tests/journey_error_branching.test"
|
|
64
|
-
import { journey_delete_cancels_actions_tests } from "./api_tests/journey_delete_cancels_actions.test"
|
|
65
51
|
import { afteraction_day_of_month_delay_tests } from "./api_tests/afteraction_day_of_month_delay.test"
|
|
66
52
|
import { push_forms_to_portal_group_completion_tests } from "./api_tests/push_forms_to_portal_group_completion.test"
|
|
67
53
|
import { authenticate_enduser_via_token, setup_tests } from "./setup"
|
|
@@ -89,8 +75,6 @@ import {
|
|
|
89
75
|
|
|
90
76
|
import fs from "fs"
|
|
91
77
|
import { load_inbox_data_tests } from "./api_tests/load_inbox_data.test";
|
|
92
|
-
import { phone_calls_cold_transfer_tests } from "./api_tests/phone_calls_cold_transfer.test";
|
|
93
|
-
import { phone_calls_conference_hold_tests } from "./api_tests/phone_calls_conference_hold.test";
|
|
94
78
|
import { enduser_login_tests } from "./api_tests/enduser_login.test";
|
|
95
79
|
import { enduser_login_rate_limits_tests } from "./api_tests/enduser_login_rate_limits.test";
|
|
96
80
|
import { eom_procedure_codes_tests } from "./api_tests/eom_procedure_codes.test";
|
|
@@ -98,107 +82,52 @@ import { cross_org_api_key_tests } from "./api_tests/cross_org_api_key.test";
|
|
|
98
82
|
import { organization_api_keys_tests } from "./api_tests/organization_api_keys.test";
|
|
99
83
|
import { scoped_api_keys_tests } from "./api_tests/scoped_api_keys.test";
|
|
100
84
|
import { custom_dashboards_tests } from "./api_tests/custom_dashboards.test";
|
|
101
|
-
import { message_assignment_trigger_tests } from "./api_tests/message_assignment_trigger.test";
|
|
102
|
-
import { outbound_chat_sent_trigger_tests } from "./api_tests/outbound_chat_sent_trigger.test";
|
|
103
85
|
import { time_tracks_tests, time_tracks_historical_tests, time_tracks_correction_tests, time_tracks_review_tests, time_tracks_lock_tests, time_tracks_edge_case_tests, time_tracks_resubmit_tests, time_tracks_appointment_duration_tests } from "./api_tests/time_tracks.test";
|
|
104
86
|
import { monthly_availability_restrictions_tests } from "./api_tests/monthly_availability_restrictions.test";
|
|
105
87
|
import { calendar_event_limits_tests } from "./api_tests/calendar_event_limits.test";
|
|
106
88
|
import { out_of_office_endpoint_tests } from "./api_tests/out_of_office_endpoint.test";
|
|
107
|
-
import { appointment_link_expiration_tests } from "./api_tests/appointment_link_expiration.test";
|
|
108
|
-
import { custom_aggregation_tests } from "./api_tests/custom_aggregation.test";
|
|
109
|
-
import { chats_analytics_tests } from "./api_tests/chats_analytics.test";
|
|
110
89
|
import { active_patient_count_tests } from "./api_tests/active_patient_count.test";
|
|
111
90
|
import { nutrition_tracking_tests } from "./api_tests/nutrition_tracking.test";
|
|
112
91
|
import { no_access_permission_checks_tests } from "./api_tests/no_access_permission_checks.test";
|
|
113
92
|
import { resource_access_tags_tests } from "./api_tests/resource_access_tags.test";
|
|
114
93
|
import { field_redaction_tests } from "./api_tests/field_redaction.test";
|
|
115
|
-
import { data_sync_redaction_bypass_tests } from "./api_tests/security/data-sync-redaction-bypass.test";
|
|
116
|
-
import { enduser_write_restrictions_tests } from "./api_tests/security/enduser-write-restrictions.test";
|
|
117
|
-
import { ai_conversations_rbac_tests } from "./api_tests/security/ai-conversations-rbac.test";
|
|
118
|
-
import { develop_health_benefit_verification_rbac_tests } from "./api_tests/security/develop-health-benefit-verification-rbac.test";
|
|
119
|
-
import { cascade_role_rename_cross_tenant_tests } from "./api_tests/security/cascade-role-rename-cross-tenant.test";
|
|
120
|
-
import { self_admin_role_assignment_tests } from "./api_tests/security/self-admin-role-assignment.test";
|
|
121
94
|
import { invite_user_enumeration_tests } from "./api_tests/security/invite-user-enumeration.test";
|
|
122
|
-
import { register_business_id_injection_tests } from "./api_tests/security/register_business_id_injection.test";
|
|
123
|
-
import { handle_incoming_communication_cross_tenant_tests } from "./api_tests/security/handle-incoming-communication-cross-tenant.test";
|
|
124
95
|
import { sanitize_user_html_xss_tests } from "./api_tests/security/sanitize-user-html.test";
|
|
125
96
|
import { sanitize_user_html_with_iframes_tests } from "./api_tests/security/sanitize-user-html-with-iframes.test";
|
|
126
97
|
import { validation_behavior_lock_tests } from "./api_tests/validation_behavior_locks.test";
|
|
127
98
|
import { templated_message_date_field_tests } from "./api_tests/templated_message_date_fields.test";
|
|
128
99
|
import { templated_message_link_tests } from "./api_tests/templated_message_links.test";
|
|
129
100
|
import { prototype_pollution_tests } from "./api_tests/security/prototype-pollution.test";
|
|
130
|
-
import { enduser_cross_create_tests } from "./api_tests/security/enduser-cross-create.test";
|
|
131
|
-
import { globalunique_leak_tests } from "./api_tests/security/globalunique-conflict-redaction.test";
|
|
132
|
-
import { load_inbox_redaction_tests } from "./api_tests/security/load-inbox-redaction.test";
|
|
133
101
|
import { suggested_reply_redaction_tests } from "./api_tests/security/suggested-reply-redaction.test";
|
|
134
|
-
import { webhook_timeout_tests } from "./api_tests/security/webhook-timeout.test";
|
|
135
|
-
import { enduser_ai_summary_trust_gate_tests } from "./api_tests/security/enduser-ai-summary-trust-gate.test";
|
|
136
102
|
import { allowed_paths_confinement_tests } from "./api_tests/security/allowed-paths-confinement.test";
|
|
137
|
-
import { proxy_image_ssrf_tests } from "./api_tests/security/proxy-image-unauth-ssrf.test";
|
|
138
103
|
import { webhook_outbound_ssrf_tests } from "./api_tests/security/webhook-outbound-ssrf.test";
|
|
139
104
|
import { public_endpoint_auth_field_lock_tests } from "./api_tests/security/public_endpoint_auth_field_lock.test";
|
|
140
105
|
import { formsort_webhook_auth_field_lock_tests } from "./api_tests/security/formsort_webhook_auth_field_lock.test";
|
|
141
|
-
import { booking_info_idor_tests } from "./api_tests/security/booking-info-idor-token-mint.test";
|
|
142
|
-
import { automated_actions_process_gate_tests } from "./api_tests/security/automated-actions-process-gate.test";
|
|
143
|
-
import { schema_adminonly_enforcement_tests } from "./api_tests/security/schema-adminonly-enforcement.test";
|
|
144
|
-
import { startlinktoken_escalation_tests } from "./api_tests/security/startlinktoken-enduser-staff-escalation.test";
|
|
145
|
-
import { form_logic_js_execution_checks } from "./api_tests/security/form-logic-js-execution.test";
|
|
146
|
-
import { rich_text_answer_sanitized_on_write_checks } from "./api_tests/security/rich-text-answer-sanitized-on-write.test";
|
|
147
|
-
import { bulk_assignment_tests } from "./api_tests/bulk_assignment.test";
|
|
148
|
-
import { tickets_bulk_assign_care_team_tests } from "./api_tests/tickets_bulk_assign_care_team.test";
|
|
149
106
|
import { managed_content_enduser_access_tests } from "./api_tests/managed_content_enduser_access.test";
|
|
150
|
-
import { managed_content_file_access_tests } from "./api_tests/managed_content_file_access.test";
|
|
151
107
|
import { auto_merge_form_submission_tests } from "./api_tests/auto_merge_form_submission.test";
|
|
152
|
-
import { database_cascade_delete_tests } from "./api_tests/database_cascade_delete.test";
|
|
153
|
-
import { ai_conversations_tests } from "./api_tests/ai_conversations.test";
|
|
154
108
|
import { load_team_chat_tests } from "./api_tests/load_team_chat.test";
|
|
155
109
|
import { form_started_trigger_tests } from "./api_tests/form_started_trigger.test";
|
|
156
|
-
import { formsort_header_auth_tests } from "./api_tests/formsort_header_auth.test";
|
|
157
|
-
import { form_submitted_trigger_tests } from "./api_tests/form_submitted_trigger.test";
|
|
158
110
|
import { start_ai_conversation_tests } from "./api_tests/start_ai_conversation.test";
|
|
159
|
-
import { create_note_action_tests } from "./api_tests/create_note_action.test";
|
|
160
|
-
import { dont_sync_to_elation_form_submission_tests } from "./api_tests/dont_sync_to_elation_form_submission.test";
|
|
161
111
|
import { medication_added_trigger_tests } from "./api_tests/medication_added_trigger.test";
|
|
162
112
|
import { conditional_logic_medication_unit_tests } from "./unit_tests/conditional_logic_medication.test";
|
|
163
113
|
import { phone_validation_unit_tests } from "./unit_tests/phone_validation.test";
|
|
114
|
+
import { date_string_validation_unit_tests } from "./unit_tests/date_string_validation.test";
|
|
164
115
|
import { openapi_spec_freshness_unit_tests } from "./unit_tests/openapi_spec_freshness.test";
|
|
165
116
|
import { do_not_send_address_unit_tests } from "./unit_tests/do_not_send_address.test";
|
|
166
117
|
import { trigger_title_partials_unit_tests } from "./unit_tests/trigger_title_partials.test";
|
|
167
|
-
import {
|
|
168
|
-
import {
|
|
169
|
-
import {
|
|
170
|
-
import { tickets_bulk_assign_from_queue_checks } from "./api_tests/tickets_bulk_assign_from_queue.test";
|
|
171
|
-
import { enduser_observations_auto_review_checks } from "./api_tests/enduser_observations_auto_review.test";
|
|
172
|
-
import { file_link_session_confinement_checks } from "./api_tests/security/file-link-session-confinement.test";
|
|
173
|
-
import { appointment_reschedule_ownership_checks } from "./api_tests/security/appointment-reschedule-ownership.test";
|
|
174
|
-
import { load_threads_care_team_checks } from "./api_tests/load_threads_care_team.test";
|
|
175
|
-
import { run_isolated_in_parallel } from "./setup_isolated";
|
|
176
|
-
import { enduser_fields_sync_checks } from "./api_tests/enduser_fields_sync.test";
|
|
177
|
-
import { user_logs_restore_deleted_checks } from "./api_tests/user_logs_restore_deleted.test";
|
|
178
|
-
import { elation_user_id_tests } from "./api_tests/elation_user_id.test";
|
|
179
|
-
import { organization_settings_duplicates_tests } from "./api_tests/organization_settings_duplicates.test";
|
|
180
|
-
import { stedi_approval_tests } from "./api_tests/stedi_approval.test";
|
|
118
|
+
import { isolated_suite_discovery_unit_tests } from "./unit_tests/isolated_suite_discovery.test";
|
|
119
|
+
import { programs_conditional_logic_unit_tests } from "./unit_tests/programs_conditional_logic.test";
|
|
120
|
+
import { run_discovered_isolated_suites } from "./setup_isolated";
|
|
181
121
|
import { calendar_events_bulk_update_tests } from "./api_tests/calendar_events_bulk_update.test";
|
|
182
|
-
import { calendar_event_references_update_tests } from "./api_tests/calendar_event_references_update.test";
|
|
183
122
|
import { openloop_webhooks_tests } from "./api_tests/openloop_webhooks.test";
|
|
184
123
|
import { beluga_pharmacy_mappings_tests } from "./api_tests/beluga_pharmacy_mappings.test";
|
|
185
124
|
import { mdi_case_offerings_tests } from "./api_tests/mdi_case_offerings.test";
|
|
186
|
-
import { beluga_manual_sync_tests } from "./api_tests/beluga_manual_sync.test";
|
|
187
|
-
import { metriport_push_form_response_tests } from "./api_tests/metriport_push_form_response.test";
|
|
188
|
-
import { beluga_trigger_refill_tests } from "./api_tests/beluga_trigger_refill.test";
|
|
189
|
-
import { mdi_trigger_refill_tests } from "./api_tests/mdi_trigger_refill.test";
|
|
190
|
-
import { mdi_webhooks_tests } from "./api_tests/mdi_webhooks.test";
|
|
191
125
|
import { stripe_webhook_triggers_tests } from "./api_tests/stripe_webhook_triggers.test";
|
|
192
126
|
import { account_switcher_tests } from "./api_tests/account_switcher.test";
|
|
193
127
|
import { totp_mfa_tests } from "./api_tests/totp_mfa.test";
|
|
194
128
|
import { set_fields_order_templates_tests } from "./api_tests/set_fields_order_templates.test";
|
|
195
|
-
import { date_string_validation_tests } from "./api_tests/date_string_validation.test";
|
|
196
129
|
import { enduser_session_invalidation_tests } from "./api_tests/enduser_session_invalidation.test";
|
|
197
130
|
import { enduser_cross_access_isolation_tests } from "./api_tests/enduser_cross_access_isolation.test";
|
|
198
|
-
import { calendar_event_webhook_template_tests } from "./api_tests/calendar_event_webhook_template.test";
|
|
199
|
-
import { webhook_raw_json_number_tests } from "./api_tests/webhook_raw_json_number.test";
|
|
200
|
-
import { webhook_error_handling_tests } from "./api_tests/webhook_error_handling.test";
|
|
201
|
-
import { phone_tree_enduser_condition_tests } from "./api_tests/phone_tree_enduser_condition.test";
|
|
202
131
|
|
|
203
132
|
const UniquenessViolationMessage = 'Uniqueness Violation'
|
|
204
133
|
|
|
@@ -807,18 +736,32 @@ const run_generated_tests = async <N extends ModelName>({ queries, model, name,
|
|
|
807
736
|
{ onResult: r => r && r.userId === sdk.userInfo.id }
|
|
808
737
|
)
|
|
809
738
|
|
|
739
|
+
// `updates` is built from field `examples`, so a model whose only updatable field has none would
|
|
740
|
+
// send an empty patch — a guaranteed 400 'No updates provided' (routing.ts). Only api_keys is in
|
|
741
|
+
// that position today (its `description` deliberately omits examples, because the api_keys create
|
|
742
|
+
// custom action 400s on any param other than `scopes`), and its update path is covered by
|
|
743
|
+
// api_tests/organization_api_keys.test.ts instead. The assertion below makes a FUTURE model
|
|
744
|
+
// landing here loud rather than silently losing its generic update coverage.
|
|
810
745
|
if (model.defaultActions.update) {
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
746
|
+
if (Object.keys(updates).length === 0) {
|
|
747
|
+
await async_test(
|
|
748
|
+
`update-${singularName} (skipped: no updatable field has an example)`,
|
|
749
|
+
async () => name,
|
|
750
|
+
{ onResult: n => n === 'api_keys' }
|
|
751
|
+
)
|
|
752
|
+
} else {
|
|
753
|
+
await async_test(
|
|
754
|
+
`update-${singularName}`,
|
|
755
|
+
() => queries.updateOne(_id, updates, { replaceObjectFields: true }),
|
|
756
|
+
{ onResult: u => typeof u === 'object' && u.id === _id }
|
|
757
|
+
)
|
|
758
|
+
await wait(undefined, 25)
|
|
759
|
+
await async_test(
|
|
760
|
+
`log-${singularName} update`,
|
|
761
|
+
() => sdk.api.user_logs.getOne({ resourceId: _id, resource: name, action: 'update' }),
|
|
762
|
+
{ onResult: r => r && r.userId === sdk.userInfo.id }
|
|
763
|
+
)
|
|
764
|
+
}
|
|
822
765
|
}
|
|
823
766
|
await async_test(
|
|
824
767
|
`get-${singularName}`,
|
|
@@ -5785,9 +5728,7 @@ const trigger_events_api_tests = async () => {
|
|
|
5785
5728
|
const automation_trigger_tests = async () => {
|
|
5786
5729
|
log_header("Automation Trigger Tests")
|
|
5787
5730
|
|
|
5788
|
-
await appointment_no_showed_trigger_tests({ sdk, sdkNonAdmin })
|
|
5789
5731
|
await group_event_attendee_status_triggers_tests({ sdk, sdkNonAdmin })
|
|
5790
|
-
await group_event_attendee_self_update_tests({ sdk, sdkNonAdmin })
|
|
5791
5732
|
await calendar_event_create_and_bulk_triggers_tests({ sdk, sdkNonAdmin })
|
|
5792
5733
|
await assign_care_team_tests()
|
|
5793
5734
|
await push_forms_to_portal_group_completion_tests({ sdk, sdkNonAdmin })
|
|
@@ -6015,6 +5956,37 @@ const search_tests = async () => {
|
|
|
6015
5956
|
handleAnyError,
|
|
6016
5957
|
)
|
|
6017
5958
|
|
|
5959
|
+
await async_test(
|
|
5960
|
+
`Search with minimumShouldMatch 1 accepted`,
|
|
5961
|
+
() => sdk.api.endusers.getSome({ search: { query: 'john', minimumShouldMatch: 1 } }),
|
|
5962
|
+
{ onResult: es => es.length === 1 && es[0].id === e1.id },
|
|
5963
|
+
)
|
|
5964
|
+
await async_test(
|
|
5965
|
+
`Search with minimumShouldMatch 0 accepted`,
|
|
5966
|
+
() => sdk.api.endusers.getSome({ search: { query: 'john', minimumShouldMatch: 0 } }),
|
|
5967
|
+
{ onResult: es => es.length === 1 && es[0].id === e1.id },
|
|
5968
|
+
)
|
|
5969
|
+
await async_test(
|
|
5970
|
+
`Search with minimumShouldMatch and minSearchScore accepted`,
|
|
5971
|
+
() => sdk.api.endusers.getSome({ search: { query: 'john', minimumShouldMatch: 1, minSearchScore: 0.5 } }),
|
|
5972
|
+
{ onResult: es => es.length === 1 && es[0].id === e1.id },
|
|
5973
|
+
)
|
|
5974
|
+
await async_test(
|
|
5975
|
+
`Search with negative minimumShouldMatch rejected`,
|
|
5976
|
+
() => sdk.api.endusers.getSome({ search: { query: 'john', minimumShouldMatch: -1 } }),
|
|
5977
|
+
handleAnyError,
|
|
5978
|
+
)
|
|
5979
|
+
await async_test(
|
|
5980
|
+
`Search with non-integer minimumShouldMatch rejected`,
|
|
5981
|
+
() => sdk.api.endusers.getSome({ search: { query: 'john', minimumShouldMatch: 1.5 } }),
|
|
5982
|
+
handleAnyError,
|
|
5983
|
+
)
|
|
5984
|
+
await async_test(
|
|
5985
|
+
`Search with string minimumShouldMatch rejected`,
|
|
5986
|
+
() => sdk.api.endusers.getSome({ search: { query: 'john', minimumShouldMatch: 'one' as any } }),
|
|
5987
|
+
handleAnyError,
|
|
5988
|
+
)
|
|
5989
|
+
|
|
6018
5990
|
await Promise.all([
|
|
6019
5991
|
sdk.api.endusers.deleteOne(e1.id),
|
|
6020
5992
|
sdk.api.endusers.deleteOne(e2.id),
|
|
@@ -6840,7 +6812,48 @@ export const databases_tests = async () => {
|
|
|
6840
6812
|
'numRecords incremented',
|
|
6841
6813
|
() => sdk.api.databases.getOne(database.id),
|
|
6842
6814
|
{ onResult: c => c.numRecords === 1 },
|
|
6843
|
-
)
|
|
6815
|
+
)
|
|
6816
|
+
|
|
6817
|
+
await async_test(
|
|
6818
|
+
'load_choices_from_database search with minimumShouldMatch accepted',
|
|
6819
|
+
() => sdk.api.form_fields.load_choices_from_database({ fieldId: database.id, databaseId: database.id, search: 'value', minimumShouldMatch: 1 }),
|
|
6820
|
+
{ onResult: ({ choices }) => choices.length === 1 && choices[0].id === databaseRecord.id },
|
|
6821
|
+
)
|
|
6822
|
+
await async_test(
|
|
6823
|
+
'load_choices_from_database search with minimumShouldMatch and no match returns empty',
|
|
6824
|
+
() => sdk.api.form_fields.load_choices_from_database({ fieldId: database.id, databaseId: database.id, search: 'zzzznonexistent', minimumShouldMatch: 1 }),
|
|
6825
|
+
{ onResult: ({ choices }) => choices.length === 0 },
|
|
6826
|
+
)
|
|
6827
|
+
await async_test(
|
|
6828
|
+
'load_choices_from_database negative minimumShouldMatch rejected',
|
|
6829
|
+
() => sdk.api.form_fields.load_choices_from_database({ fieldId: database.id, databaseId: database.id, search: 'value', minimumShouldMatch: -1 }),
|
|
6830
|
+
handleAnyError,
|
|
6831
|
+
)
|
|
6832
|
+
await async_test(
|
|
6833
|
+
'load_choices_from_database non-integer minimumShouldMatch rejected',
|
|
6834
|
+
() => sdk.api.form_fields.load_choices_from_database({ fieldId: database.id, databaseId: database.id, search: 'value', minimumShouldMatch: 1.5 }),
|
|
6835
|
+
handleAnyError,
|
|
6836
|
+
)
|
|
6837
|
+
await async_test(
|
|
6838
|
+
'load_choices_from_database search with minSearchScore accepted',
|
|
6839
|
+
() => sdk.api.form_fields.load_choices_from_database({ fieldId: database.id, databaseId: database.id, search: 'value', minSearchScore: 0.5 }),
|
|
6840
|
+
{ onResult: ({ choices }) => choices.length === 1 && choices[0].id === databaseRecord.id },
|
|
6841
|
+
)
|
|
6842
|
+
await async_test(
|
|
6843
|
+
'load_choices_from_database search with minSearchScore and minimumShouldMatch accepted',
|
|
6844
|
+
() => sdk.api.form_fields.load_choices_from_database({ fieldId: database.id, databaseId: database.id, search: 'value', minSearchScore: 0.5, minimumShouldMatch: 1 }),
|
|
6845
|
+
{ onResult: ({ choices }) => choices.length === 1 && choices[0].id === databaseRecord.id },
|
|
6846
|
+
)
|
|
6847
|
+
await async_test(
|
|
6848
|
+
'load_choices_from_database negative minSearchScore rejected',
|
|
6849
|
+
() => sdk.api.form_fields.load_choices_from_database({ fieldId: database.id, databaseId: database.id, search: 'value', minSearchScore: -1 }),
|
|
6850
|
+
handleAnyError,
|
|
6851
|
+
)
|
|
6852
|
+
await async_test(
|
|
6853
|
+
'load_choices_from_database string minSearchScore rejected',
|
|
6854
|
+
() => sdk.api.form_fields.load_choices_from_database({ fieldId: database.id, databaseId: database.id, search: 'value', minSearchScore: 'high' as any }),
|
|
6855
|
+
handleAnyError,
|
|
6856
|
+
)
|
|
6844
6857
|
|
|
6845
6858
|
await async_test(
|
|
6846
6859
|
'Non admin can access correctly',
|
|
@@ -6865,9 +6878,6 @@ export const databases_tests = async () => {
|
|
|
6865
6878
|
sdk.api.databases.deleteOne(database.id),
|
|
6866
6879
|
sdk.api.databases.deleteOne(databaseNoRead.id),
|
|
6867
6880
|
])
|
|
6868
|
-
|
|
6869
|
-
// Run cascade delete tests
|
|
6870
|
-
await database_cascade_delete_tests({ sdk, sdkNonAdmin })
|
|
6871
6881
|
}
|
|
6872
6882
|
|
|
6873
6883
|
export const filter_by_date_tests = async () => {
|
|
@@ -10399,7 +10409,7 @@ const tests: { [K in keyof ClientModelForName]: () => void } = {
|
|
|
10399
10409
|
message_template_snippets: NO_TEST,
|
|
10400
10410
|
integration_logs: NO_TEST,
|
|
10401
10411
|
organization_payments: NO_TEST,
|
|
10402
|
-
ai_conversations: NO_TEST, // covered by
|
|
10412
|
+
ai_conversations: NO_TEST, // covered by the isolated suite in api_tests/ai_conversations.test.ts
|
|
10403
10413
|
waitlists: waitlist_tests,
|
|
10404
10414
|
inbox_threads: NO_TEST, // use custom test instead to test earlier in script
|
|
10405
10415
|
};
|
|
@@ -10417,24 +10427,29 @@ const validate_schema = () => {
|
|
|
10417
10427
|
let modelName = undefined! as ModelName
|
|
10418
10428
|
for (modelName in schema) {
|
|
10419
10429
|
for (const endpointName in schema[modelName].customActions) {
|
|
10420
|
-
const
|
|
10430
|
+
const action = schema[modelName].customActions[endpointName]
|
|
10431
|
+
const path = action.path || ''
|
|
10421
10432
|
if (path === '' && endpointName === 'create') continue // uses default
|
|
10422
10433
|
|
|
10423
|
-
|
|
10424
|
-
|
|
10434
|
+
// routes are registered per method, so e.g. PATCH and DELETE may share a path ('post' is the router's default for custom ops)
|
|
10435
|
+
const route = `${(action.method || 'post').toLowerCase()} ${path}`
|
|
10436
|
+
if (endpoints.has(route)) {
|
|
10437
|
+
throw new Error(`Duplicate path: ${route}, ${endpointName}`)
|
|
10425
10438
|
}
|
|
10426
10439
|
|
|
10427
|
-
endpoints.add(
|
|
10440
|
+
endpoints.add(route)
|
|
10428
10441
|
}
|
|
10429
10442
|
|
|
10430
10443
|
for (const endpointName in (schema[modelName] as any).publicActions ?? {}) {
|
|
10431
|
-
const
|
|
10444
|
+
const action = (schema[modelName] as any).publicActions[endpointName]
|
|
10445
|
+
const path = action.path || ''
|
|
10432
10446
|
|
|
10433
|
-
|
|
10434
|
-
|
|
10447
|
+
const route = `${(action.method || 'post').toLowerCase()} ${path}`
|
|
10448
|
+
if (endpoints.has(route)) {
|
|
10449
|
+
throw new Error(`Duplicate path: ${route}, ${endpointName}`)
|
|
10435
10450
|
}
|
|
10436
10451
|
|
|
10437
|
-
endpoints.add(
|
|
10452
|
+
endpoints.add(route)
|
|
10438
10453
|
}
|
|
10439
10454
|
}
|
|
10440
10455
|
|
|
@@ -14571,6 +14586,46 @@ const inbox_threads_loading_tests = async () => {
|
|
|
14571
14586
|
() => sdk.api.inbox_threads.load_threads({ search: 'ab' }),
|
|
14572
14587
|
{ onResult: ({ threads }) => threads.length === 5 }
|
|
14573
14588
|
)
|
|
14589
|
+
await async_test(
|
|
14590
|
+
'search with minimumShouldMatch accepted',
|
|
14591
|
+
() => sdk.api.inbox_threads.load_threads({ search: 'Email', minimumShouldMatch: 1 }),
|
|
14592
|
+
{ onResult: ({ threads }) => threads.length === 1 && threads[0].type === 'Email' }
|
|
14593
|
+
)
|
|
14594
|
+
await async_test(
|
|
14595
|
+
'search with minimumShouldMatch and no match returns empty',
|
|
14596
|
+
() => sdk.api.inbox_threads.load_threads({ search: 'zzzznonexistent', minimumShouldMatch: 1 }),
|
|
14597
|
+
{ onResult: ({ threads }) => threads.length === 0 }
|
|
14598
|
+
)
|
|
14599
|
+
await async_test(
|
|
14600
|
+
'search with negative minimumShouldMatch rejected',
|
|
14601
|
+
() => sdk.api.inbox_threads.load_threads({ search: 'Test', minimumShouldMatch: -1 }),
|
|
14602
|
+
handleAnyError,
|
|
14603
|
+
)
|
|
14604
|
+
await async_test(
|
|
14605
|
+
'search with non-integer minimumShouldMatch rejected',
|
|
14606
|
+
() => sdk.api.inbox_threads.load_threads({ search: 'Test', minimumShouldMatch: 1.5 }),
|
|
14607
|
+
handleAnyError,
|
|
14608
|
+
)
|
|
14609
|
+
await async_test(
|
|
14610
|
+
'search with minSearchScore accepted',
|
|
14611
|
+
() => sdk.api.inbox_threads.load_threads({ search: 'Email', minSearchScore: 0.5 }),
|
|
14612
|
+
{ onResult: ({ threads }) => threads.length === 1 && threads[0].type === 'Email' }
|
|
14613
|
+
)
|
|
14614
|
+
await async_test(
|
|
14615
|
+
'search with minSearchScore and minimumShouldMatch accepted',
|
|
14616
|
+
() => sdk.api.inbox_threads.load_threads({ search: 'Email', minSearchScore: 0.5, minimumShouldMatch: 1 }),
|
|
14617
|
+
{ onResult: ({ threads }) => threads.length === 1 && threads[0].type === 'Email' }
|
|
14618
|
+
)
|
|
14619
|
+
await async_test(
|
|
14620
|
+
'search with negative minSearchScore rejected',
|
|
14621
|
+
() => sdk.api.inbox_threads.load_threads({ search: 'Test', minSearchScore: -1 }),
|
|
14622
|
+
handleAnyError,
|
|
14623
|
+
)
|
|
14624
|
+
await async_test(
|
|
14625
|
+
'search with string minSearchScore rejected',
|
|
14626
|
+
() => sdk.api.inbox_threads.load_threads({ search: 'Test', minSearchScore: 'high' as any }),
|
|
14627
|
+
handleAnyError,
|
|
14628
|
+
)
|
|
14574
14629
|
|
|
14575
14630
|
// adding to care team of e2 who belongs to only the phone thread
|
|
14576
14631
|
await sdk.api.endusers.updateOne(e2.id, { assignedTo: [sdkNonAdmin.userInfo.id] }, { replaceObjectFields: true })
|
|
@@ -15402,6 +15457,9 @@ const ip_address_form_tests = async () => {
|
|
|
15402
15457
|
await openapi_spec_freshness_unit_tests()
|
|
15403
15458
|
await do_not_send_address_unit_tests()
|
|
15404
15459
|
await trigger_title_partials_unit_tests()
|
|
15460
|
+
await isolated_suite_discovery_unit_tests()
|
|
15461
|
+
await date_string_validation_unit_tests()
|
|
15462
|
+
await programs_conditional_logic_unit_tests()
|
|
15405
15463
|
await replace_enduser_template_values_tests()
|
|
15406
15464
|
await safe_json_parse_template_tests()
|
|
15407
15465
|
await replace_form_field_template_values_tests()
|
|
@@ -15409,64 +15467,26 @@ const ip_address_form_tests = async () => {
|
|
|
15409
15467
|
await setup_tests(sdk, sdkNonAdmin)
|
|
15410
15468
|
// Isolated, tenant-provisioned suites run first and CONCURRENTLY: each provisions its own
|
|
15411
15469
|
// throwaway tenant via /test-support, so they cannot collide with each other or with the
|
|
15412
|
-
// shared fixture.
|
|
15413
|
-
//
|
|
15414
|
-
|
|
15415
|
-
|
|
15416
|
-
|
|
15417
|
-
|
|
15418
|
-
{ name: 'Vital auto-review on create', run: enduser_observations_auto_review_checks },
|
|
15419
|
-
{ name: '$JS in stored conditional logic', run: form_logic_js_execution_checks },
|
|
15420
|
-
{ name: 'Rich Text answers sanitized on write', run: rich_text_answer_sanitized_on_write_checks },
|
|
15421
|
-
{ name: 'Shared file link session confinement', run: file_link_session_confinement_checks },
|
|
15422
|
-
{ name: 'book_appointment reschedule ownership', run: appointment_reschedule_ownership_checks },
|
|
15423
|
-
{ name: 'Enduser fields sync schema round-trip', run: enduser_fields_sync_checks },
|
|
15424
|
-
{ name: 'Trigger contains title matching', run: trigger_contains_matching_checks },
|
|
15425
|
-
{ name: 'user_logs restore_deleted', run: user_logs_restore_deleted_checks },
|
|
15426
|
-
{ name: 'Load threads care team', run: load_threads_care_team_checks },
|
|
15427
|
-
])
|
|
15470
|
+
// shared fixture. There is no list to maintain here — a suite enrolls itself by exporting
|
|
15471
|
+
// ISOLATED_SUITE from its own file, and the dispatcher discovers it by walking the compiled
|
|
15472
|
+
// api_tests tree. Width is TEST_PARALLELISM (default 8); each batch tears down and asserts
|
|
15473
|
+
// before the next one starts, because assert calls process.exit, which would otherwise strand
|
|
15474
|
+
// a concurrent suite's tenants.
|
|
15475
|
+
await run_discovered_isolated_suites()
|
|
15428
15476
|
await embeddables_auth_token_tests({ sdk, sdkNonAdmin })
|
|
15429
|
-
await proxy_image_ssrf_tests({ sdk, sdkNonAdmin })
|
|
15430
15477
|
await webhook_outbound_ssrf_tests({ sdk, sdkNonAdmin })
|
|
15431
15478
|
await allowed_paths_confinement_tests({ sdk, sdkNonAdmin })
|
|
15432
|
-
await phone_calls_conference_hold_tests({ sdk, sdkNonAdmin })
|
|
15433
|
-
await tickets_bulk_assign_care_team_tests({ sdk, sdkNonAdmin })
|
|
15434
15479
|
await custom_dashboards_tests({ sdk, sdkNonAdmin })
|
|
15435
|
-
await register_business_id_injection_tests({ sdk, sdkNonAdmin })
|
|
15436
15480
|
await automation_trigger_tests()
|
|
15437
15481
|
await resource_access_tags_tests({ sdk, sdkNonAdmin })
|
|
15438
|
-
await beluga_manual_sync_tests({ sdk, sdkNonAdmin })
|
|
15439
|
-
await metriport_push_form_response_tests({ sdk, sdkNonAdmin })
|
|
15440
|
-
await beluga_trigger_refill_tests({ sdk, sdkNonAdmin })
|
|
15441
|
-
await mdi_trigger_refill_tests({ sdk, sdkNonAdmin })
|
|
15442
15482
|
await beluga_pharmacy_mappings_tests({ sdk, sdkNonAdmin })
|
|
15443
15483
|
await mdi_case_offerings_tests({ sdk, sdkNonAdmin })
|
|
15444
|
-
await enduser_write_restrictions_tests({ sdk, sdkNonAdmin })
|
|
15445
|
-
await enduser_ai_summary_trust_gate_tests({ sdk, sdkNonAdmin })
|
|
15446
|
-
await enduser_cross_create_tests({ sdk, sdkNonAdmin })
|
|
15447
|
-
await booking_info_idor_tests({ sdk, sdkNonAdmin })
|
|
15448
|
-
await automated_actions_process_gate_tests({ sdk, sdkNonAdmin })
|
|
15449
|
-
await schema_adminonly_enforcement_tests({ sdk, sdkNonAdmin })
|
|
15450
|
-
await startlinktoken_escalation_tests({ sdk, sdkNonAdmin })
|
|
15451
|
-
await globalunique_leak_tests({ sdk, sdkNonAdmin })
|
|
15452
|
-
await load_inbox_redaction_tests({ sdk, sdkNonAdmin })
|
|
15453
15484
|
await suggested_reply_redaction_tests({ sdk, sdkNonAdmin })
|
|
15454
|
-
await webhook_timeout_tests({ sdk, sdkNonAdmin })
|
|
15455
15485
|
await public_endpoint_auth_field_lock_tests({ sdk, sdkNonAdmin })
|
|
15456
15486
|
await formsort_webhook_auth_field_lock_tests({ sdk, sdkNonAdmin })
|
|
15457
15487
|
await user_portal_settings_tests({ sdk, sdkNonAdmin })
|
|
15458
15488
|
await invite_user_enumeration_tests({ sdk, sdkNonAdmin })
|
|
15459
|
-
await handle_incoming_communication_cross_tenant_tests({ sdk, sdkNonAdmin })
|
|
15460
|
-
await calendar_event_webhook_template_tests({ sdk, sdkNonAdmin })
|
|
15461
|
-
await webhook_raw_json_number_tests({ sdk, sdkNonAdmin })
|
|
15462
|
-
await webhook_error_handling_tests({ sdk, sdkNonAdmin })
|
|
15463
|
-
await outbound_chat_sent_trigger_tests({ sdk })
|
|
15464
15489
|
await enduser_login_rate_limits_tests({ sdk, sdkNonAdmin })
|
|
15465
|
-
await data_sync_redaction_bypass_tests({ sdk, sdkNonAdmin })
|
|
15466
|
-
await ai_conversations_rbac_tests({ sdk, sdkNonAdmin })
|
|
15467
|
-
await develop_health_benefit_verification_rbac_tests({ sdk, sdkNonAdmin })
|
|
15468
|
-
await cascade_role_rename_cross_tenant_tests({ sdk, sdkNonAdmin })
|
|
15469
|
-
await self_admin_role_assignment_tests({ sdk, sdkNonAdmin })
|
|
15470
15490
|
await sanitize_user_html_xss_tests()
|
|
15471
15491
|
await sanitize_user_html_with_iframes_tests()
|
|
15472
15492
|
await validation_behavior_lock_tests()
|
|
@@ -15476,31 +15496,18 @@ const ip_address_form_tests = async () => {
|
|
|
15476
15496
|
await account_switcher_tests({ sdk, sdkNonAdmin })
|
|
15477
15497
|
await totp_mfa_tests({ sdk, sdkNonAdmin })
|
|
15478
15498
|
await enduser_login_tests({ sdk, sdkNonAdmin })
|
|
15479
|
-
await outbound_chat_sent_trigger_tests({ sdk })
|
|
15480
15499
|
await enduser_cross_access_isolation_tests({ sdk, sdkNonAdmin })
|
|
15481
15500
|
await eom_procedure_codes_tests({ sdk, sdkNonAdmin })
|
|
15482
15501
|
await cross_org_api_key_tests({ sdk, sdkNonAdmin })
|
|
15483
15502
|
await organization_api_keys_tests({ sdk, sdkNonAdmin })
|
|
15484
15503
|
await scoped_api_keys_tests({ sdk, sdkNonAdmin })
|
|
15485
|
-
await organization_settings_duplicates_tests({ sdk, sdkNonAdmin })
|
|
15486
|
-
await stedi_approval_tests({ sdk, sdkNonAdmin })
|
|
15487
15504
|
await enduser_session_invalidation_tests({ sdk, sdkNonAdmin })
|
|
15488
|
-
await chats_analytics_tests({ sdk, sdkNonAdmin })
|
|
15489
15505
|
await active_patient_count_tests({ sdk, sdkNonAdmin })
|
|
15490
15506
|
await field_redaction_tests({ sdk, sdkNonAdmin })
|
|
15491
|
-
await form_submitted_trigger_tests({ sdk, sdkNonAdmin })
|
|
15492
15507
|
await start_ai_conversation_tests({ sdk, sdkNonAdmin })
|
|
15493
|
-
await create_note_action_tests({ sdk, sdkNonAdmin })
|
|
15494
|
-
await dont_sync_to_elation_form_submission_tests({ sdk, sdkNonAdmin })
|
|
15495
|
-
await date_string_validation_tests({ sdk, sdkNonAdmin })
|
|
15496
|
-
await phone_tree_enduser_condition_tests({ sdk, sdkNonAdmin })
|
|
15497
15508
|
await openloop_webhooks_tests({ sdk, sdkNonAdmin })
|
|
15498
|
-
await mdi_webhooks_tests({ sdk, sdkNonAdmin })
|
|
15499
15509
|
await stripe_webhook_triggers_tests({ sdk, sdkNonAdmin })
|
|
15500
|
-
await integrations_redacted_tests({ sdk, sdkNonAdmin })
|
|
15501
|
-
await welle_partner_token_tests({ sdk, sdkNonAdmin })
|
|
15502
15510
|
await healthie_multi_integration_tests({ sdk, sdkNonAdmin })
|
|
15503
|
-
await mdb_sort_tests({ sdk, sdkNonAdmin })
|
|
15504
15511
|
await search_tests()
|
|
15505
15512
|
await time_tracks_tests({ sdk, sdkNonAdmin })
|
|
15506
15513
|
await time_tracks_historical_tests({ sdk, sdkNonAdmin })
|
|
@@ -15512,45 +15519,27 @@ const ip_address_form_tests = async () => {
|
|
|
15512
15519
|
await time_tracks_appointment_duration_tests({ sdk, sdkNonAdmin })
|
|
15513
15520
|
await calendar_event_limits_tests({ sdk, sdkNonAdmin })
|
|
15514
15521
|
await out_of_office_endpoint_tests({ sdk, sdkNonAdmin })
|
|
15515
|
-
await appointment_link_expiration_tests({ sdk, sdkNonAdmin })
|
|
15516
|
-
await get_some_projection_tests({ sdk, sdkNonAdmin })
|
|
15517
|
-
await file_download_unicode_names_tests({ sdk, sdkNonAdmin })
|
|
15518
|
-
await elation_user_id_tests({ sdk, sdkNonAdmin })
|
|
15519
|
-
await concurrent_build_threads_tests({ sdk, sdkNonAdmin })
|
|
15520
|
-
await custom_aggregation_tests({ sdk, sdkNonAdmin })
|
|
15521
15522
|
await no_access_permission_checks_tests({ sdk, sdkNonAdmin })
|
|
15522
15523
|
await enduser_tests()
|
|
15523
15524
|
await form_started_trigger_tests({ sdk, sdkNonAdmin })
|
|
15524
15525
|
await load_team_chat_tests({ sdk, sdkNonAdmin })
|
|
15525
|
-
await ai_conversations_tests({ sdk, sdkNonAdmin })
|
|
15526
15526
|
await inbox_thread_assignment_updates_tests({ sdk, sdkNonAdmin })
|
|
15527
15527
|
await inbox_thread_draft_scheduled_tests({ sdk, sdkNonAdmin })
|
|
15528
|
-
await load_threads_autobuild_tests({ sdk, sdkNonAdmin })
|
|
15529
15528
|
await inbox_threads_new_fields_tests()
|
|
15530
15529
|
await auto_merge_form_submission_tests({ sdk, sdkNonAdmin })
|
|
15531
15530
|
await threadKeyTests()
|
|
15532
15531
|
await managed_content_enduser_access_tests({ sdk, sdkNonAdmin })
|
|
15533
|
-
await managed_content_file_access_tests({ sdk, sdkNonAdmin })
|
|
15534
15532
|
await afteraction_day_of_month_delay_tests({ sdk, sdkNonAdmin })
|
|
15535
|
-
await bulk_assignment_tests({ sdk, sdkNonAdmin })
|
|
15536
15533
|
await formsort_tests()
|
|
15537
|
-
await formsort_header_auth_tests({ sdk, sdkNonAdmin })
|
|
15538
15534
|
await self_serve_appointment_booking_tests()
|
|
15539
15535
|
await test_ticket_automation_assignment_and_optimization()
|
|
15540
15536
|
await monthly_availability_restrictions_tests({ sdk, sdkNonAdmin })
|
|
15541
15537
|
await journey_error_branching_tests({ sdk, sdkNonAdmin })
|
|
15542
|
-
await journey_delete_cancels_actions_tests({ sdk, sdkNonAdmin })
|
|
15543
|
-
await message_assignment_trigger_tests({ sdk })
|
|
15544
15538
|
await inbox_threads_building_tests()
|
|
15545
15539
|
await inbox_threads_loading_tests()
|
|
15546
15540
|
await load_inbox_data_tests({ sdk, sdkNonAdmin })
|
|
15547
|
-
await phone_calls_cold_transfer_tests({ sdk, sdkNonAdmin })
|
|
15548
15541
|
await enduser_observations_acknowledge_tests({ sdk, sdkNonAdmin })
|
|
15549
15542
|
await nutrition_tracking_tests({ sdk, sdkNonAdmin })
|
|
15550
|
-
await translations_tests({ sdk, sdkNonAdmin })
|
|
15551
|
-
await configurations_public_read_tests({ sdk, sdkNonAdmin })
|
|
15552
|
-
await form_translations_tests({ sdk, sdkNonAdmin })
|
|
15553
|
-
await create_user_notifications_trigger_tests({ sdk })
|
|
15554
15543
|
await group_mms_active_tests()
|
|
15555
15544
|
await auto_reply_tests()
|
|
15556
15545
|
await relationships_tests()
|
|
@@ -15558,7 +15547,6 @@ const ip_address_form_tests = async () => {
|
|
|
15558
15547
|
await ip_address_form_tests()
|
|
15559
15548
|
await bulk_update_tests()
|
|
15560
15549
|
await calendar_events_bulk_update_tests({ sdk })
|
|
15561
|
-
await calendar_event_references_update_tests({ sdk, sdkNonAdmin })
|
|
15562
15550
|
await cancel_upcoming_appointments_journey_action_test()
|
|
15563
15551
|
await multi_tenant_tests() // should come right after setup tests
|
|
15564
15552
|
await sync_tests_with_access_tags() // should come directly after setup to avoid extra sync values
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
require('source-map-support').install();
|
|
2
2
|
|
|
3
|
-
import { Session } from "../../sdk"
|
|
4
3
|
import {
|
|
5
4
|
assert,
|
|
6
5
|
log_header,
|
|
7
6
|
} from "@tellescope/testing"
|
|
8
|
-
import { setup_tests } from "../setup"
|
|
9
7
|
import { is_valid_mm_dd_yyyy } from "@tellescope/validation"
|
|
10
8
|
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
export const date_string_validation_tests = async ({ sdk, sdkNonAdmin } : { sdk: Session, sdkNonAdmin: Session }) => {
|
|
9
|
+
export const date_string_validation_unit_tests = async () => {
|
|
14
10
|
log_header("Date String Validation Tests (is_valid_mm_dd_yyyy)")
|
|
15
11
|
|
|
16
12
|
// --- Valid standard dates ---
|
|
@@ -86,22 +82,5 @@ export const date_string_validation_tests = async ({ sdk, sdkNonAdmin } : { sdk:
|
|
|
86
82
|
|
|
87
83
|
// Allow running this test file independently
|
|
88
84
|
if (require.main === module) {
|
|
89
|
-
|
|
90
|
-
const sdk = new Session({ host })
|
|
91
|
-
const sdkNonAdmin = new Session({ host })
|
|
92
|
-
|
|
93
|
-
const runTests = async () => {
|
|
94
|
-
await setup_tests(sdk, sdkNonAdmin)
|
|
95
|
-
await date_string_validation_tests({ sdk, sdkNonAdmin })
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
runTests()
|
|
99
|
-
.then(() => {
|
|
100
|
-
console.log("Date string validation test suite completed successfully")
|
|
101
|
-
process.exit(0)
|
|
102
|
-
})
|
|
103
|
-
.catch((error) => {
|
|
104
|
-
console.error("Date string validation test suite failed:", error)
|
|
105
|
-
process.exit(1)
|
|
106
|
-
})
|
|
85
|
+
date_string_validation_unit_tests()
|
|
107
86
|
}
|