@tellescope/sdk 2.0.0-beta.2 → 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/lib/cjs/sdk.d.ts +6 -5
- 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/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/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/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/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 +6 -0
- 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 +115 -31
- 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.map +1 -1
- package/lib/cjs/tests/api_tests/organization_signup.test.js +218 -51
- 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_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.map +1 -1
- package/lib/cjs/tests/api_tests/programs.test.js +417 -50
- package/lib/cjs/tests/api_tests/programs.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/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/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/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/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/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/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_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_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/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 +7 -0
- package/lib/cjs/tests/setup_isolated.d.ts.map +1 -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 +229 -461
- 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/tsconfig.cjs.tsbuildinfo +1 -1
- package/lib/esm/sdk.d.ts +6 -5
- 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/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/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/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/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 +6 -0
- 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 +115 -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.map +1 -1
- package/lib/esm/tests/api_tests/organization_signup.test.js +218 -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_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.map +1 -1
- package/lib/esm/tests/api_tests/programs.test.js +417 -50
- package/lib/esm/tests/api_tests/programs.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/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/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/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/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/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/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_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_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/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 +7 -0
- package/lib/esm/tests/setup_isolated.d.ts.map +1 -1
- 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 +229 -461
- 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/tsconfig.tsbuildinfo +1 -1
- package/package.json +10 -10
- package/src/sdk.ts +14 -3
- 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/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/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/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/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 +103 -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 +170 -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_tree_enduser_condition.test.ts +81 -32
- package/src/tests/api_tests/programs.test.ts +350 -0
- package/src/tests/api_tests/security/ai-conversations-rbac.test.ts +248 -128
- 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/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/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/stedi_approval.test.ts +156 -90
- 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/translations.test.ts +69 -46
- package/src/tests/api_tests/trigger_set_fields_date_difference.test.ts +198 -256
- package/src/tests/api_tests/user_preferences.test.ts +227 -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 +7 -0
- package/src/tests/tests.ts +41 -147
- package/src/tests/{api_tests → unit_tests}/date_string_validation.test.ts +2 -23
- 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,97 +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 { bulk_assignment_tests } from "./api_tests/bulk_assignment.test";
|
|
146
|
-
import { tickets_bulk_assign_care_team_tests } from "./api_tests/tickets_bulk_assign_care_team.test";
|
|
147
106
|
import { managed_content_enduser_access_tests } from "./api_tests/managed_content_enduser_access.test";
|
|
148
|
-
import { managed_content_file_access_tests } from "./api_tests/managed_content_file_access.test";
|
|
149
107
|
import { auto_merge_form_submission_tests } from "./api_tests/auto_merge_form_submission.test";
|
|
150
|
-
import { database_cascade_delete_tests } from "./api_tests/database_cascade_delete.test";
|
|
151
|
-
import { ai_conversations_tests } from "./api_tests/ai_conversations.test";
|
|
152
108
|
import { load_team_chat_tests } from "./api_tests/load_team_chat.test";
|
|
153
109
|
import { form_started_trigger_tests } from "./api_tests/form_started_trigger.test";
|
|
154
|
-
import { formsort_header_auth_tests } from "./api_tests/formsort_header_auth.test";
|
|
155
|
-
import { form_submitted_trigger_tests } from "./api_tests/form_submitted_trigger.test";
|
|
156
110
|
import { start_ai_conversation_tests } from "./api_tests/start_ai_conversation.test";
|
|
157
|
-
import { create_note_action_tests } from "./api_tests/create_note_action.test";
|
|
158
|
-
import { dont_sync_to_elation_form_submission_tests } from "./api_tests/dont_sync_to_elation_form_submission.test";
|
|
159
111
|
import { medication_added_trigger_tests } from "./api_tests/medication_added_trigger.test";
|
|
160
112
|
import { conditional_logic_medication_unit_tests } from "./unit_tests/conditional_logic_medication.test";
|
|
161
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";
|
|
162
115
|
import { openapi_spec_freshness_unit_tests } from "./unit_tests/openapi_spec_freshness.test";
|
|
163
116
|
import { do_not_send_address_unit_tests } from "./unit_tests/do_not_send_address.test";
|
|
164
117
|
import { trigger_title_partials_unit_tests } from "./unit_tests/trigger_title_partials.test";
|
|
165
118
|
import { isolated_suite_discovery_unit_tests } from "./unit_tests/isolated_suite_discovery.test";
|
|
166
119
|
import { programs_conditional_logic_unit_tests } from "./unit_tests/programs_conditional_logic.test";
|
|
167
120
|
import { run_discovered_isolated_suites } from "./setup_isolated";
|
|
168
|
-
import { elation_user_id_tests } from "./api_tests/elation_user_id.test";
|
|
169
|
-
import { organization_settings_duplicates_tests } from "./api_tests/organization_settings_duplicates.test";
|
|
170
|
-
import { stedi_approval_tests } from "./api_tests/stedi_approval.test";
|
|
171
121
|
import { calendar_events_bulk_update_tests } from "./api_tests/calendar_events_bulk_update.test";
|
|
172
|
-
import { calendar_event_references_update_tests } from "./api_tests/calendar_event_references_update.test";
|
|
173
122
|
import { openloop_webhooks_tests } from "./api_tests/openloop_webhooks.test";
|
|
174
123
|
import { beluga_pharmacy_mappings_tests } from "./api_tests/beluga_pharmacy_mappings.test";
|
|
175
124
|
import { mdi_case_offerings_tests } from "./api_tests/mdi_case_offerings.test";
|
|
176
|
-
import { beluga_manual_sync_tests } from "./api_tests/beluga_manual_sync.test";
|
|
177
|
-
import { metriport_push_form_response_tests } from "./api_tests/metriport_push_form_response.test";
|
|
178
|
-
import { beluga_trigger_refill_tests } from "./api_tests/beluga_trigger_refill.test";
|
|
179
|
-
import { mdi_trigger_refill_tests } from "./api_tests/mdi_trigger_refill.test";
|
|
180
|
-
import { mdi_webhooks_tests } from "./api_tests/mdi_webhooks.test";
|
|
181
125
|
import { stripe_webhook_triggers_tests } from "./api_tests/stripe_webhook_triggers.test";
|
|
182
126
|
import { account_switcher_tests } from "./api_tests/account_switcher.test";
|
|
183
127
|
import { totp_mfa_tests } from "./api_tests/totp_mfa.test";
|
|
184
128
|
import { set_fields_order_templates_tests } from "./api_tests/set_fields_order_templates.test";
|
|
185
|
-
import { date_string_validation_tests } from "./api_tests/date_string_validation.test";
|
|
186
129
|
import { enduser_session_invalidation_tests } from "./api_tests/enduser_session_invalidation.test";
|
|
187
130
|
import { enduser_cross_access_isolation_tests } from "./api_tests/enduser_cross_access_isolation.test";
|
|
188
|
-
import { calendar_event_webhook_template_tests } from "./api_tests/calendar_event_webhook_template.test";
|
|
189
|
-
import { webhook_raw_json_number_tests } from "./api_tests/webhook_raw_json_number.test";
|
|
190
|
-
import { webhook_error_handling_tests } from "./api_tests/webhook_error_handling.test";
|
|
191
|
-
import { phone_tree_enduser_condition_tests } from "./api_tests/phone_tree_enduser_condition.test";
|
|
192
131
|
|
|
193
132
|
const UniquenessViolationMessage = 'Uniqueness Violation'
|
|
194
133
|
|
|
@@ -797,18 +736,32 @@ const run_generated_tests = async <N extends ModelName>({ queries, model, name,
|
|
|
797
736
|
{ onResult: r => r && r.userId === sdk.userInfo.id }
|
|
798
737
|
)
|
|
799
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.
|
|
800
745
|
if (model.defaultActions.update) {
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
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
|
+
}
|
|
812
765
|
}
|
|
813
766
|
await async_test(
|
|
814
767
|
`get-${singularName}`,
|
|
@@ -5775,9 +5728,7 @@ const trigger_events_api_tests = async () => {
|
|
|
5775
5728
|
const automation_trigger_tests = async () => {
|
|
5776
5729
|
log_header("Automation Trigger Tests")
|
|
5777
5730
|
|
|
5778
|
-
await appointment_no_showed_trigger_tests({ sdk, sdkNonAdmin })
|
|
5779
5731
|
await group_event_attendee_status_triggers_tests({ sdk, sdkNonAdmin })
|
|
5780
|
-
await group_event_attendee_self_update_tests({ sdk, sdkNonAdmin })
|
|
5781
5732
|
await calendar_event_create_and_bulk_triggers_tests({ sdk, sdkNonAdmin })
|
|
5782
5733
|
await assign_care_team_tests()
|
|
5783
5734
|
await push_forms_to_portal_group_completion_tests({ sdk, sdkNonAdmin })
|
|
@@ -6927,9 +6878,6 @@ export const databases_tests = async () => {
|
|
|
6927
6878
|
sdk.api.databases.deleteOne(database.id),
|
|
6928
6879
|
sdk.api.databases.deleteOne(databaseNoRead.id),
|
|
6929
6880
|
])
|
|
6930
|
-
|
|
6931
|
-
// Run cascade delete tests
|
|
6932
|
-
await database_cascade_delete_tests({ sdk, sdkNonAdmin })
|
|
6933
6881
|
}
|
|
6934
6882
|
|
|
6935
6883
|
export const filter_by_date_tests = async () => {
|
|
@@ -10461,7 +10409,7 @@ const tests: { [K in keyof ClientModelForName]: () => void } = {
|
|
|
10461
10409
|
message_template_snippets: NO_TEST,
|
|
10462
10410
|
integration_logs: NO_TEST,
|
|
10463
10411
|
organization_payments: NO_TEST,
|
|
10464
|
-
ai_conversations: NO_TEST, // covered by
|
|
10412
|
+
ai_conversations: NO_TEST, // covered by the isolated suite in api_tests/ai_conversations.test.ts
|
|
10465
10413
|
waitlists: waitlist_tests,
|
|
10466
10414
|
inbox_threads: NO_TEST, // use custom test instead to test earlier in script
|
|
10467
10415
|
};
|
|
@@ -10479,24 +10427,29 @@ const validate_schema = () => {
|
|
|
10479
10427
|
let modelName = undefined! as ModelName
|
|
10480
10428
|
for (modelName in schema) {
|
|
10481
10429
|
for (const endpointName in schema[modelName].customActions) {
|
|
10482
|
-
const
|
|
10430
|
+
const action = schema[modelName].customActions[endpointName]
|
|
10431
|
+
const path = action.path || ''
|
|
10483
10432
|
if (path === '' && endpointName === 'create') continue // uses default
|
|
10484
10433
|
|
|
10485
|
-
|
|
10486
|
-
|
|
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}`)
|
|
10487
10438
|
}
|
|
10488
10439
|
|
|
10489
|
-
endpoints.add(
|
|
10440
|
+
endpoints.add(route)
|
|
10490
10441
|
}
|
|
10491
10442
|
|
|
10492
10443
|
for (const endpointName in (schema[modelName] as any).publicActions ?? {}) {
|
|
10493
|
-
const
|
|
10444
|
+
const action = (schema[modelName] as any).publicActions[endpointName]
|
|
10445
|
+
const path = action.path || ''
|
|
10494
10446
|
|
|
10495
|
-
|
|
10496
|
-
|
|
10447
|
+
const route = `${(action.method || 'post').toLowerCase()} ${path}`
|
|
10448
|
+
if (endpoints.has(route)) {
|
|
10449
|
+
throw new Error(`Duplicate path: ${route}, ${endpointName}`)
|
|
10497
10450
|
}
|
|
10498
10451
|
|
|
10499
|
-
endpoints.add(
|
|
10452
|
+
endpoints.add(route)
|
|
10500
10453
|
}
|
|
10501
10454
|
}
|
|
10502
10455
|
|
|
@@ -15505,6 +15458,7 @@ const ip_address_form_tests = async () => {
|
|
|
15505
15458
|
await do_not_send_address_unit_tests()
|
|
15506
15459
|
await trigger_title_partials_unit_tests()
|
|
15507
15460
|
await isolated_suite_discovery_unit_tests()
|
|
15461
|
+
await date_string_validation_unit_tests()
|
|
15508
15462
|
await programs_conditional_logic_unit_tests()
|
|
15509
15463
|
await replace_enduser_template_values_tests()
|
|
15510
15464
|
await safe_json_parse_template_tests()
|
|
@@ -15520,47 +15474,19 @@ const ip_address_form_tests = async () => {
|
|
|
15520
15474
|
// a concurrent suite's tenants.
|
|
15521
15475
|
await run_discovered_isolated_suites()
|
|
15522
15476
|
await embeddables_auth_token_tests({ sdk, sdkNonAdmin })
|
|
15523
|
-
await proxy_image_ssrf_tests({ sdk, sdkNonAdmin })
|
|
15524
15477
|
await webhook_outbound_ssrf_tests({ sdk, sdkNonAdmin })
|
|
15525
15478
|
await allowed_paths_confinement_tests({ sdk, sdkNonAdmin })
|
|
15526
|
-
await phone_calls_conference_hold_tests({ sdk, sdkNonAdmin })
|
|
15527
|
-
await tickets_bulk_assign_care_team_tests({ sdk, sdkNonAdmin })
|
|
15528
15479
|
await custom_dashboards_tests({ sdk, sdkNonAdmin })
|
|
15529
|
-
await register_business_id_injection_tests({ sdk, sdkNonAdmin })
|
|
15530
15480
|
await automation_trigger_tests()
|
|
15531
15481
|
await resource_access_tags_tests({ sdk, sdkNonAdmin })
|
|
15532
|
-
await beluga_manual_sync_tests({ sdk, sdkNonAdmin })
|
|
15533
|
-
await metriport_push_form_response_tests({ sdk, sdkNonAdmin })
|
|
15534
|
-
await beluga_trigger_refill_tests({ sdk, sdkNonAdmin })
|
|
15535
|
-
await mdi_trigger_refill_tests({ sdk, sdkNonAdmin })
|
|
15536
15482
|
await beluga_pharmacy_mappings_tests({ sdk, sdkNonAdmin })
|
|
15537
15483
|
await mdi_case_offerings_tests({ sdk, sdkNonAdmin })
|
|
15538
|
-
await enduser_write_restrictions_tests({ sdk, sdkNonAdmin })
|
|
15539
|
-
await enduser_ai_summary_trust_gate_tests({ sdk, sdkNonAdmin })
|
|
15540
|
-
await enduser_cross_create_tests({ sdk, sdkNonAdmin })
|
|
15541
|
-
await booking_info_idor_tests({ sdk, sdkNonAdmin })
|
|
15542
|
-
await automated_actions_process_gate_tests({ sdk, sdkNonAdmin })
|
|
15543
|
-
await schema_adminonly_enforcement_tests({ sdk, sdkNonAdmin })
|
|
15544
|
-
await startlinktoken_escalation_tests({ sdk, sdkNonAdmin })
|
|
15545
|
-
await globalunique_leak_tests({ sdk, sdkNonAdmin })
|
|
15546
|
-
await load_inbox_redaction_tests({ sdk, sdkNonAdmin })
|
|
15547
15484
|
await suggested_reply_redaction_tests({ sdk, sdkNonAdmin })
|
|
15548
|
-
await webhook_timeout_tests({ sdk, sdkNonAdmin })
|
|
15549
15485
|
await public_endpoint_auth_field_lock_tests({ sdk, sdkNonAdmin })
|
|
15550
15486
|
await formsort_webhook_auth_field_lock_tests({ sdk, sdkNonAdmin })
|
|
15551
15487
|
await user_portal_settings_tests({ sdk, sdkNonAdmin })
|
|
15552
15488
|
await invite_user_enumeration_tests({ sdk, sdkNonAdmin })
|
|
15553
|
-
await handle_incoming_communication_cross_tenant_tests({ sdk, sdkNonAdmin })
|
|
15554
|
-
await calendar_event_webhook_template_tests({ sdk, sdkNonAdmin })
|
|
15555
|
-
await webhook_raw_json_number_tests({ sdk, sdkNonAdmin })
|
|
15556
|
-
await webhook_error_handling_tests({ sdk, sdkNonAdmin })
|
|
15557
|
-
await outbound_chat_sent_trigger_tests({ sdk })
|
|
15558
15489
|
await enduser_login_rate_limits_tests({ sdk, sdkNonAdmin })
|
|
15559
|
-
await data_sync_redaction_bypass_tests({ sdk, sdkNonAdmin })
|
|
15560
|
-
await ai_conversations_rbac_tests({ sdk, sdkNonAdmin })
|
|
15561
|
-
await develop_health_benefit_verification_rbac_tests({ sdk, sdkNonAdmin })
|
|
15562
|
-
await cascade_role_rename_cross_tenant_tests({ sdk, sdkNonAdmin })
|
|
15563
|
-
await self_admin_role_assignment_tests({ sdk, sdkNonAdmin })
|
|
15564
15490
|
await sanitize_user_html_xss_tests()
|
|
15565
15491
|
await sanitize_user_html_with_iframes_tests()
|
|
15566
15492
|
await validation_behavior_lock_tests()
|
|
@@ -15570,31 +15496,18 @@ const ip_address_form_tests = async () => {
|
|
|
15570
15496
|
await account_switcher_tests({ sdk, sdkNonAdmin })
|
|
15571
15497
|
await totp_mfa_tests({ sdk, sdkNonAdmin })
|
|
15572
15498
|
await enduser_login_tests({ sdk, sdkNonAdmin })
|
|
15573
|
-
await outbound_chat_sent_trigger_tests({ sdk })
|
|
15574
15499
|
await enduser_cross_access_isolation_tests({ sdk, sdkNonAdmin })
|
|
15575
15500
|
await eom_procedure_codes_tests({ sdk, sdkNonAdmin })
|
|
15576
15501
|
await cross_org_api_key_tests({ sdk, sdkNonAdmin })
|
|
15577
15502
|
await organization_api_keys_tests({ sdk, sdkNonAdmin })
|
|
15578
15503
|
await scoped_api_keys_tests({ sdk, sdkNonAdmin })
|
|
15579
|
-
await organization_settings_duplicates_tests({ sdk, sdkNonAdmin })
|
|
15580
|
-
await stedi_approval_tests({ sdk, sdkNonAdmin })
|
|
15581
15504
|
await enduser_session_invalidation_tests({ sdk, sdkNonAdmin })
|
|
15582
|
-
await chats_analytics_tests({ sdk, sdkNonAdmin })
|
|
15583
15505
|
await active_patient_count_tests({ sdk, sdkNonAdmin })
|
|
15584
15506
|
await field_redaction_tests({ sdk, sdkNonAdmin })
|
|
15585
|
-
await form_submitted_trigger_tests({ sdk, sdkNonAdmin })
|
|
15586
15507
|
await start_ai_conversation_tests({ sdk, sdkNonAdmin })
|
|
15587
|
-
await create_note_action_tests({ sdk, sdkNonAdmin })
|
|
15588
|
-
await dont_sync_to_elation_form_submission_tests({ sdk, sdkNonAdmin })
|
|
15589
|
-
await date_string_validation_tests({ sdk, sdkNonAdmin })
|
|
15590
|
-
await phone_tree_enduser_condition_tests({ sdk, sdkNonAdmin })
|
|
15591
15508
|
await openloop_webhooks_tests({ sdk, sdkNonAdmin })
|
|
15592
|
-
await mdi_webhooks_tests({ sdk, sdkNonAdmin })
|
|
15593
15509
|
await stripe_webhook_triggers_tests({ sdk, sdkNonAdmin })
|
|
15594
|
-
await integrations_redacted_tests({ sdk, sdkNonAdmin })
|
|
15595
|
-
await welle_partner_token_tests({ sdk, sdkNonAdmin })
|
|
15596
15510
|
await healthie_multi_integration_tests({ sdk, sdkNonAdmin })
|
|
15597
|
-
await mdb_sort_tests({ sdk, sdkNonAdmin })
|
|
15598
15511
|
await search_tests()
|
|
15599
15512
|
await time_tracks_tests({ sdk, sdkNonAdmin })
|
|
15600
15513
|
await time_tracks_historical_tests({ sdk, sdkNonAdmin })
|
|
@@ -15606,45 +15519,27 @@ const ip_address_form_tests = async () => {
|
|
|
15606
15519
|
await time_tracks_appointment_duration_tests({ sdk, sdkNonAdmin })
|
|
15607
15520
|
await calendar_event_limits_tests({ sdk, sdkNonAdmin })
|
|
15608
15521
|
await out_of_office_endpoint_tests({ sdk, sdkNonAdmin })
|
|
15609
|
-
await appointment_link_expiration_tests({ sdk, sdkNonAdmin })
|
|
15610
|
-
await get_some_projection_tests({ sdk, sdkNonAdmin })
|
|
15611
|
-
await file_download_unicode_names_tests({ sdk, sdkNonAdmin })
|
|
15612
|
-
await elation_user_id_tests({ sdk, sdkNonAdmin })
|
|
15613
|
-
await concurrent_build_threads_tests({ sdk, sdkNonAdmin })
|
|
15614
|
-
await custom_aggregation_tests({ sdk, sdkNonAdmin })
|
|
15615
15522
|
await no_access_permission_checks_tests({ sdk, sdkNonAdmin })
|
|
15616
15523
|
await enduser_tests()
|
|
15617
15524
|
await form_started_trigger_tests({ sdk, sdkNonAdmin })
|
|
15618
15525
|
await load_team_chat_tests({ sdk, sdkNonAdmin })
|
|
15619
|
-
await ai_conversations_tests({ sdk, sdkNonAdmin })
|
|
15620
15526
|
await inbox_thread_assignment_updates_tests({ sdk, sdkNonAdmin })
|
|
15621
15527
|
await inbox_thread_draft_scheduled_tests({ sdk, sdkNonAdmin })
|
|
15622
|
-
await load_threads_autobuild_tests({ sdk, sdkNonAdmin })
|
|
15623
15528
|
await inbox_threads_new_fields_tests()
|
|
15624
15529
|
await auto_merge_form_submission_tests({ sdk, sdkNonAdmin })
|
|
15625
15530
|
await threadKeyTests()
|
|
15626
15531
|
await managed_content_enduser_access_tests({ sdk, sdkNonAdmin })
|
|
15627
|
-
await managed_content_file_access_tests({ sdk, sdkNonAdmin })
|
|
15628
15532
|
await afteraction_day_of_month_delay_tests({ sdk, sdkNonAdmin })
|
|
15629
|
-
await bulk_assignment_tests({ sdk, sdkNonAdmin })
|
|
15630
15533
|
await formsort_tests()
|
|
15631
|
-
await formsort_header_auth_tests({ sdk, sdkNonAdmin })
|
|
15632
15534
|
await self_serve_appointment_booking_tests()
|
|
15633
15535
|
await test_ticket_automation_assignment_and_optimization()
|
|
15634
15536
|
await monthly_availability_restrictions_tests({ sdk, sdkNonAdmin })
|
|
15635
15537
|
await journey_error_branching_tests({ sdk, sdkNonAdmin })
|
|
15636
|
-
await journey_delete_cancels_actions_tests({ sdk, sdkNonAdmin })
|
|
15637
|
-
await message_assignment_trigger_tests({ sdk })
|
|
15638
15538
|
await inbox_threads_building_tests()
|
|
15639
15539
|
await inbox_threads_loading_tests()
|
|
15640
15540
|
await load_inbox_data_tests({ sdk, sdkNonAdmin })
|
|
15641
|
-
await phone_calls_cold_transfer_tests({ sdk, sdkNonAdmin })
|
|
15642
15541
|
await enduser_observations_acknowledge_tests({ sdk, sdkNonAdmin })
|
|
15643
15542
|
await nutrition_tracking_tests({ sdk, sdkNonAdmin })
|
|
15644
|
-
await translations_tests({ sdk, sdkNonAdmin })
|
|
15645
|
-
await configurations_public_read_tests({ sdk, sdkNonAdmin })
|
|
15646
|
-
await form_translations_tests({ sdk, sdkNonAdmin })
|
|
15647
|
-
await create_user_notifications_trigger_tests({ sdk })
|
|
15648
15543
|
await group_mms_active_tests()
|
|
15649
15544
|
await auto_reply_tests()
|
|
15650
15545
|
await relationships_tests()
|
|
@@ -15652,7 +15547,6 @@ const ip_address_form_tests = async () => {
|
|
|
15652
15547
|
await ip_address_form_tests()
|
|
15653
15548
|
await bulk_update_tests()
|
|
15654
15549
|
await calendar_events_bulk_update_tests({ sdk })
|
|
15655
|
-
await calendar_event_references_update_tests({ sdk, sdkNonAdmin })
|
|
15656
15550
|
await cancel_upcoming_appointments_journey_action_test()
|
|
15657
15551
|
await multi_tenant_tests() // should come right after setup tests
|
|
15658
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
|
}
|
package/test_generated.pdf
CHANGED
|
Binary file
|