@boltix/sdk 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BaseClient.d.ts +42 -0
- package/dist/BaseClient.js +43 -0
- package/dist/Client.d.ts +77 -0
- package/dist/Client.js +120 -0
- package/dist/api/index.d.ts +2 -0
- package/dist/api/index.js +2 -0
- package/dist/api/resources/audit/client/Client.d.ts +37 -0
- package/dist/api/resources/audit/client/Client.js +115 -0
- package/dist/api/resources/audit/client/index.d.ts +1 -0
- package/dist/api/resources/audit/client/index.js +1 -0
- package/dist/api/resources/audit/client/requests/GetEventAuditRequest.d.ts +10 -0
- package/dist/api/resources/audit/client/requests/GetEventAuditRequest.js +2 -0
- package/dist/api/resources/audit/client/requests/ListEventsAuditRequest.d.ts +18 -0
- package/dist/api/resources/audit/client/requests/ListEventsAuditRequest.js +2 -0
- package/dist/api/resources/audit/client/requests/index.d.ts +2 -0
- package/dist/api/resources/audit/client/requests/index.js +1 -0
- package/dist/api/resources/audit/exports.d.ts +2 -0
- package/dist/api/resources/audit/exports.js +3 -0
- package/dist/api/resources/audit/index.d.ts +1 -0
- package/dist/api/resources/audit/index.js +1 -0
- package/dist/api/resources/auth/client/Client.d.ts +55 -0
- package/dist/api/resources/auth/client/Client.js +148 -0
- package/dist/api/resources/auth/client/index.d.ts +1 -0
- package/dist/api/resources/auth/client/index.js +1 -0
- package/dist/api/resources/auth/client/requests/LoginInputBody.d.ts +13 -0
- package/dist/api/resources/auth/client/requests/LoginInputBody.js +2 -0
- package/dist/api/resources/auth/client/requests/RefreshInputBody.d.ts +10 -0
- package/dist/api/resources/auth/client/requests/RefreshInputBody.js +2 -0
- package/dist/api/resources/auth/client/requests/RegisterInputBody.d.ts +18 -0
- package/dist/api/resources/auth/client/requests/RegisterInputBody.js +2 -0
- package/dist/api/resources/auth/client/requests/index.d.ts +3 -0
- package/dist/api/resources/auth/client/requests/index.js +1 -0
- package/dist/api/resources/auth/exports.d.ts +2 -0
- package/dist/api/resources/auth/exports.js +3 -0
- package/dist/api/resources/auth/index.d.ts +1 -0
- package/dist/api/resources/auth/index.js +1 -0
- package/dist/api/resources/automation/client/Client.d.ts +161 -0
- package/dist/api/resources/automation/client/Client.js +539 -0
- package/dist/api/resources/automation/client/index.d.ts +1 -0
- package/dist/api/resources/automation/client/index.js +1 -0
- package/dist/api/resources/automation/client/requests/CreateTriggerInputBody.d.ts +43 -0
- package/dist/api/resources/automation/client/requests/CreateTriggerInputBody.js +11 -0
- package/dist/api/resources/automation/client/requests/CreateWorkflowInputBody.d.ts +39 -0
- package/dist/api/resources/automation/client/requests/CreateWorkflowInputBody.js +2 -0
- package/dist/api/resources/automation/client/requests/DeleteTriggerAutomationRequest.d.ts +10 -0
- package/dist/api/resources/automation/client/requests/DeleteTriggerAutomationRequest.js +2 -0
- package/dist/api/resources/automation/client/requests/DeleteWorkflowAutomationRequest.d.ts +10 -0
- package/dist/api/resources/automation/client/requests/DeleteWorkflowAutomationRequest.js +2 -0
- package/dist/api/resources/automation/client/requests/GetConfigAutomationRequest.d.ts +8 -0
- package/dist/api/resources/automation/client/requests/GetConfigAutomationRequest.js +2 -0
- package/dist/api/resources/automation/client/requests/GetTriggerAutomationRequest.d.ts +10 -0
- package/dist/api/resources/automation/client/requests/GetTriggerAutomationRequest.js +2 -0
- package/dist/api/resources/automation/client/requests/GetWorkflowAutomationRequest.d.ts +10 -0
- package/dist/api/resources/automation/client/requests/GetWorkflowAutomationRequest.js +2 -0
- package/dist/api/resources/automation/client/requests/UpdateConfigInputBody.d.ts +46 -0
- package/dist/api/resources/automation/client/requests/UpdateConfigInputBody.js +2 -0
- package/dist/api/resources/automation/client/requests/UpdateTriggerInputBody.d.ts +42 -0
- package/dist/api/resources/automation/client/requests/UpdateTriggerInputBody.js +11 -0
- package/dist/api/resources/automation/client/requests/UpdateWorkflowInputBody.d.ts +38 -0
- package/dist/api/resources/automation/client/requests/UpdateWorkflowInputBody.js +2 -0
- package/dist/api/resources/automation/client/requests/index.d.ts +10 -0
- package/dist/api/resources/automation/client/requests/index.js +2 -0
- package/dist/api/resources/automation/exports.d.ts +2 -0
- package/dist/api/resources/automation/exports.js +3 -0
- package/dist/api/resources/automation/index.d.ts +1 -0
- package/dist/api/resources/automation/index.js +1 -0
- package/dist/api/resources/campaigns/client/Client.d.ts +140 -0
- package/dist/api/resources/campaigns/client/Client.js +447 -0
- package/dist/api/resources/campaigns/client/index.d.ts +1 -0
- package/dist/api/resources/campaigns/client/index.js +1 -0
- package/dist/api/resources/campaigns/client/requests/AddRecipientsInputBody.d.ts +13 -0
- package/dist/api/resources/campaigns/client/requests/AddRecipientsInputBody.js +2 -0
- package/dist/api/resources/campaigns/client/requests/CancelCampaignsRequest.d.ts +10 -0
- package/dist/api/resources/campaigns/client/requests/CancelCampaignsRequest.js +2 -0
- package/dist/api/resources/campaigns/client/requests/CreateCampaignInputBody.d.ts +24 -0
- package/dist/api/resources/campaigns/client/requests/CreateCampaignInputBody.js +2 -0
- package/dist/api/resources/campaigns/client/requests/DeleteCampaignsRequest.d.ts +10 -0
- package/dist/api/resources/campaigns/client/requests/DeleteCampaignsRequest.js +2 -0
- package/dist/api/resources/campaigns/client/requests/GetCampaignsRequest.d.ts +10 -0
- package/dist/api/resources/campaigns/client/requests/GetCampaignsRequest.js +2 -0
- package/dist/api/resources/campaigns/client/requests/ListRecipientsCampaignsRequest.d.ts +10 -0
- package/dist/api/resources/campaigns/client/requests/ListRecipientsCampaignsRequest.js +2 -0
- package/dist/api/resources/campaigns/client/requests/PauseCampaignsRequest.d.ts +10 -0
- package/dist/api/resources/campaigns/client/requests/PauseCampaignsRequest.js +2 -0
- package/dist/api/resources/campaigns/client/requests/StartCampaignsRequest.d.ts +10 -0
- package/dist/api/resources/campaigns/client/requests/StartCampaignsRequest.js +2 -0
- package/dist/api/resources/campaigns/client/requests/UpdateCampaignInputBody.d.ts +26 -0
- package/dist/api/resources/campaigns/client/requests/UpdateCampaignInputBody.js +2 -0
- package/dist/api/resources/campaigns/client/requests/index.d.ts +9 -0
- package/dist/api/resources/campaigns/client/requests/index.js +1 -0
- package/dist/api/resources/campaigns/exports.d.ts +2 -0
- package/dist/api/resources/campaigns/exports.js +3 -0
- package/dist/api/resources/campaigns/index.d.ts +1 -0
- package/dist/api/resources/campaigns/index.js +1 -0
- package/dist/api/resources/catalog/client/Client.d.ts +103 -0
- package/dist/api/resources/catalog/client/Client.js +320 -0
- package/dist/api/resources/catalog/client/index.d.ts +1 -0
- package/dist/api/resources/catalog/client/index.js +1 -0
- package/dist/api/resources/catalog/client/requests/CreateProductInputBody.d.ts +30 -0
- package/dist/api/resources/catalog/client/requests/CreateProductInputBody.js +2 -0
- package/dist/api/resources/catalog/client/requests/CreateStoreInputBody.d.ts +16 -0
- package/dist/api/resources/catalog/client/requests/CreateStoreInputBody.js +2 -0
- package/dist/api/resources/catalog/client/requests/DeleteStoreCatalogRequest.d.ts +10 -0
- package/dist/api/resources/catalog/client/requests/DeleteStoreCatalogRequest.js +2 -0
- package/dist/api/resources/catalog/client/requests/GetStoreCatalogRequest.d.ts +10 -0
- package/dist/api/resources/catalog/client/requests/GetStoreCatalogRequest.js +2 -0
- package/dist/api/resources/catalog/client/requests/ListProductsCatalogRequest.d.ts +10 -0
- package/dist/api/resources/catalog/client/requests/ListProductsCatalogRequest.js +2 -0
- package/dist/api/resources/catalog/client/requests/UpdateStoreInputBody.d.ts +18 -0
- package/dist/api/resources/catalog/client/requests/UpdateStoreInputBody.js +2 -0
- package/dist/api/resources/catalog/client/requests/index.d.ts +6 -0
- package/dist/api/resources/catalog/client/requests/index.js +1 -0
- package/dist/api/resources/catalog/exports.d.ts +2 -0
- package/dist/api/resources/catalog/exports.js +3 -0
- package/dist/api/resources/catalog/index.d.ts +1 -0
- package/dist/api/resources/catalog/index.js +1 -0
- package/dist/api/resources/channels/client/Client.d.ts +75 -0
- package/dist/api/resources/channels/client/Client.js +229 -0
- package/dist/api/resources/channels/client/index.d.ts +1 -0
- package/dist/api/resources/channels/client/index.js +1 -0
- package/dist/api/resources/channels/client/requests/CreateChannelInputBody.d.ts +28 -0
- package/dist/api/resources/channels/client/requests/CreateChannelInputBody.js +2 -0
- package/dist/api/resources/channels/client/requests/DeleteChannelsRequest.d.ts +10 -0
- package/dist/api/resources/channels/client/requests/DeleteChannelsRequest.js +2 -0
- package/dist/api/resources/channels/client/requests/GetChannelsRequest.d.ts +10 -0
- package/dist/api/resources/channels/client/requests/GetChannelsRequest.js +2 -0
- package/dist/api/resources/channels/client/requests/UpdateChannelInputBody.d.ts +31 -0
- package/dist/api/resources/channels/client/requests/UpdateChannelInputBody.js +10 -0
- package/dist/api/resources/channels/client/requests/index.d.ts +4 -0
- package/dist/api/resources/channels/client/requests/index.js +1 -0
- package/dist/api/resources/channels/exports.d.ts +2 -0
- package/dist/api/resources/channels/exports.js +3 -0
- package/dist/api/resources/channels/index.d.ts +1 -0
- package/dist/api/resources/channels/index.js +1 -0
- package/dist/api/resources/contacts/client/Client.d.ts +118 -0
- package/dist/api/resources/contacts/client/Client.js +368 -0
- package/dist/api/resources/contacts/client/index.d.ts +1 -0
- package/dist/api/resources/contacts/client/index.js +1 -0
- package/dist/api/resources/contacts/client/requests/AssignInputBody.d.ts +12 -0
- package/dist/api/resources/contacts/client/requests/AssignInputBody.js +2 -0
- package/dist/api/resources/contacts/client/requests/CreateContactInputBody.d.ts +21 -0
- package/dist/api/resources/contacts/client/requests/CreateContactInputBody.js +2 -0
- package/dist/api/resources/contacts/client/requests/DeleteContactsRequest.d.ts +10 -0
- package/dist/api/resources/contacts/client/requests/DeleteContactsRequest.js +2 -0
- package/dist/api/resources/contacts/client/requests/GetContactsRequest.d.ts +10 -0
- package/dist/api/resources/contacts/client/requests/GetContactsRequest.js +2 -0
- package/dist/api/resources/contacts/client/requests/MarkReadContactsRequest.d.ts +10 -0
- package/dist/api/resources/contacts/client/requests/MarkReadContactsRequest.js +2 -0
- package/dist/api/resources/contacts/client/requests/SetTagsInputBody.d.ts +14 -0
- package/dist/api/resources/contacts/client/requests/SetTagsInputBody.js +2 -0
- package/dist/api/resources/contacts/client/requests/UpdateContactInputBody.d.ts +14 -0
- package/dist/api/resources/contacts/client/requests/UpdateContactInputBody.js +2 -0
- package/dist/api/resources/contacts/client/requests/index.d.ts +7 -0
- package/dist/api/resources/contacts/client/requests/index.js +1 -0
- package/dist/api/resources/contacts/exports.d.ts +2 -0
- package/dist/api/resources/contacts/exports.js +3 -0
- package/dist/api/resources/contacts/index.d.ts +1 -0
- package/dist/api/resources/contacts/index.js +1 -0
- package/dist/api/resources/identity/client/Client.d.ts +58 -0
- package/dist/api/resources/identity/client/Client.js +180 -0
- package/dist/api/resources/identity/client/index.d.ts +1 -0
- package/dist/api/resources/identity/client/index.js +1 -0
- package/dist/api/resources/identity/client/requests/CreateAccountInputBody.d.ts +15 -0
- package/dist/api/resources/identity/client/requests/CreateAccountInputBody.js +2 -0
- package/dist/api/resources/identity/client/requests/UpdateProfileInputBody.d.ts +10 -0
- package/dist/api/resources/identity/client/requests/UpdateProfileInputBody.js +2 -0
- package/dist/api/resources/identity/client/requests/index.d.ts +2 -0
- package/dist/api/resources/identity/client/requests/index.js +1 -0
- package/dist/api/resources/identity/exports.d.ts +2 -0
- package/dist/api/resources/identity/exports.js +3 -0
- package/dist/api/resources/identity/index.d.ts +1 -0
- package/dist/api/resources/identity/index.js +1 -0
- package/dist/api/resources/index.d.ts +36 -0
- package/dist/api/resources/index.js +36 -0
- package/dist/api/resources/insights/client/Client.d.ts +90 -0
- package/dist/api/resources/insights/client/Client.js +274 -0
- package/dist/api/resources/insights/client/index.d.ts +1 -0
- package/dist/api/resources/insights/client/index.js +1 -0
- package/dist/api/resources/insights/client/requests/CreatePanelInputBody.d.ts +81 -0
- package/dist/api/resources/insights/client/requests/CreatePanelInputBody.js +30 -0
- package/dist/api/resources/insights/client/requests/DeletePanelInsightsRequest.d.ts +10 -0
- package/dist/api/resources/insights/client/requests/DeletePanelInsightsRequest.js +2 -0
- package/dist/api/resources/insights/client/requests/GetPanelDataInsightsRequest.d.ts +10 -0
- package/dist/api/resources/insights/client/requests/GetPanelDataInsightsRequest.js +2 -0
- package/dist/api/resources/insights/client/requests/GetPanelInsightsRequest.d.ts +10 -0
- package/dist/api/resources/insights/client/requests/GetPanelInsightsRequest.js +2 -0
- package/dist/api/resources/insights/client/requests/UpdatePanelInputBody.d.ts +83 -0
- package/dist/api/resources/insights/client/requests/UpdatePanelInputBody.js +30 -0
- package/dist/api/resources/insights/client/requests/index.d.ts +5 -0
- package/dist/api/resources/insights/client/requests/index.js +2 -0
- package/dist/api/resources/insights/exports.d.ts +2 -0
- package/dist/api/resources/insights/exports.js +3 -0
- package/dist/api/resources/insights/index.d.ts +1 -0
- package/dist/api/resources/insights/index.js +1 -0
- package/dist/api/resources/intelligence/client/Client.d.ts +76 -0
- package/dist/api/resources/intelligence/client/Client.js +239 -0
- package/dist/api/resources/intelligence/client/index.d.ts +1 -0
- package/dist/api/resources/intelligence/client/index.js +1 -0
- package/dist/api/resources/intelligence/client/requests/CreateContextInputBody.d.ts +33 -0
- package/dist/api/resources/intelligence/client/requests/CreateContextInputBody.js +9 -0
- package/dist/api/resources/intelligence/client/requests/DeleteContextIntelligenceRequest.d.ts +10 -0
- package/dist/api/resources/intelligence/client/requests/DeleteContextIntelligenceRequest.js +2 -0
- package/dist/api/resources/intelligence/client/requests/GetContextIntelligenceRequest.d.ts +10 -0
- package/dist/api/resources/intelligence/client/requests/GetContextIntelligenceRequest.js +2 -0
- package/dist/api/resources/intelligence/client/requests/UpdateContextInputBody.d.ts +34 -0
- package/dist/api/resources/intelligence/client/requests/UpdateContextInputBody.js +9 -0
- package/dist/api/resources/intelligence/client/requests/index.d.ts +4 -0
- package/dist/api/resources/intelligence/client/requests/index.js +2 -0
- package/dist/api/resources/intelligence/exports.d.ts +2 -0
- package/dist/api/resources/intelligence/exports.js +3 -0
- package/dist/api/resources/intelligence/index.d.ts +1 -0
- package/dist/api/resources/intelligence/index.js +1 -0
- package/dist/api/resources/media/client/Client.d.ts +40 -0
- package/dist/api/resources/media/client/Client.js +107 -0
- package/dist/api/resources/media/client/index.d.ts +1 -0
- package/dist/api/resources/media/client/index.js +1 -0
- package/dist/api/resources/media/client/requests/CreateDownloadUrlInputBody.d.ts +10 -0
- package/dist/api/resources/media/client/requests/CreateDownloadUrlInputBody.js +2 -0
- package/dist/api/resources/media/client/requests/CreateUploadUrlInputBody.d.ts +13 -0
- package/dist/api/resources/media/client/requests/CreateUploadUrlInputBody.js +2 -0
- package/dist/api/resources/media/client/requests/index.d.ts +2 -0
- package/dist/api/resources/media/client/requests/index.js +1 -0
- package/dist/api/resources/media/exports.d.ts +2 -0
- package/dist/api/resources/media/exports.js +3 -0
- package/dist/api/resources/media/index.d.ts +1 -0
- package/dist/api/resources/media/index.js +1 -0
- package/dist/api/resources/messages/client/Client.d.ts +40 -0
- package/dist/api/resources/messages/client/Client.js +113 -0
- package/dist/api/resources/messages/client/index.d.ts +1 -0
- package/dist/api/resources/messages/client/index.js +1 -0
- package/dist/api/resources/messages/client/requests/ListMessagesRequest.d.ts +14 -0
- package/dist/api/resources/messages/client/requests/ListMessagesRequest.js +2 -0
- package/dist/api/resources/messages/client/requests/SendMessageInputBody.d.ts +29 -0
- package/dist/api/resources/messages/client/requests/SendMessageInputBody.js +2 -0
- package/dist/api/resources/messages/client/requests/index.d.ts +2 -0
- package/dist/api/resources/messages/client/requests/index.js +1 -0
- package/dist/api/resources/messages/exports.d.ts +2 -0
- package/dist/api/resources/messages/exports.js +3 -0
- package/dist/api/resources/messages/index.d.ts +1 -0
- package/dist/api/resources/messages/index.js +1 -0
- package/dist/api/resources/organizations/client/Client.d.ts +47 -0
- package/dist/api/resources/organizations/client/Client.js +140 -0
- package/dist/api/resources/organizations/client/index.d.ts +1 -0
- package/dist/api/resources/organizations/client/index.js +1 -0
- package/dist/api/resources/organizations/client/requests/CreateOrganizationInputBody.d.ts +15 -0
- package/dist/api/resources/organizations/client/requests/CreateOrganizationInputBody.js +2 -0
- package/dist/api/resources/organizations/client/requests/index.d.ts +1 -0
- package/dist/api/resources/organizations/client/requests/index.js +1 -0
- package/dist/api/resources/organizations/exports.d.ts +2 -0
- package/dist/api/resources/organizations/exports.js +3 -0
- package/dist/api/resources/organizations/index.d.ts +1 -0
- package/dist/api/resources/organizations/index.js +1 -0
- package/dist/api/resources/routing/client/Client.d.ts +182 -0
- package/dist/api/resources/routing/client/Client.js +594 -0
- package/dist/api/resources/routing/client/index.d.ts +1 -0
- package/dist/api/resources/routing/client/index.js +1 -0
- package/dist/api/resources/routing/client/requests/AddAgentInputBody.d.ts +23 -0
- package/dist/api/resources/routing/client/requests/AddAgentInputBody.js +9 -0
- package/dist/api/resources/routing/client/requests/AssignHandoffInputBody.d.ts +13 -0
- package/dist/api/resources/routing/client/requests/AssignHandoffInputBody.js +2 -0
- package/dist/api/resources/routing/client/requests/CreateHandoffInputBody.d.ts +32 -0
- package/dist/api/resources/routing/client/requests/CreateHandoffInputBody.js +11 -0
- package/dist/api/resources/routing/client/requests/CreateTeamInputBody.d.ts +27 -0
- package/dist/api/resources/routing/client/requests/CreateTeamInputBody.js +10 -0
- package/dist/api/resources/routing/client/requests/DeleteTeamRoutingRequest.d.ts +10 -0
- package/dist/api/resources/routing/client/requests/DeleteTeamRoutingRequest.js +2 -0
- package/dist/api/resources/routing/client/requests/GetTeamRoutingRequest.d.ts +10 -0
- package/dist/api/resources/routing/client/requests/GetTeamRoutingRequest.js +2 -0
- package/dist/api/resources/routing/client/requests/ListAgentsRoutingRequest.d.ts +10 -0
- package/dist/api/resources/routing/client/requests/ListAgentsRoutingRequest.js +2 -0
- package/dist/api/resources/routing/client/requests/ListHandoffsRoutingRequest.d.ts +8 -0
- package/dist/api/resources/routing/client/requests/ListHandoffsRoutingRequest.js +2 -0
- package/dist/api/resources/routing/client/requests/PickNextHandoffInputBody.d.ts +10 -0
- package/dist/api/resources/routing/client/requests/PickNextHandoffInputBody.js +2 -0
- package/dist/api/resources/routing/client/requests/RemoveAgentRoutingRequest.d.ts +13 -0
- package/dist/api/resources/routing/client/requests/RemoveAgentRoutingRequest.js +2 -0
- package/dist/api/resources/routing/client/requests/ResumeHandoffRoutingRequest.d.ts +10 -0
- package/dist/api/resources/routing/client/requests/ResumeHandoffRoutingRequest.js +2 -0
- package/dist/api/resources/routing/client/requests/UpdateTeamInputBody.d.ts +29 -0
- package/dist/api/resources/routing/client/requests/UpdateTeamInputBody.js +10 -0
- package/dist/api/resources/routing/client/requests/index.d.ts +12 -0
- package/dist/api/resources/routing/client/requests/index.js +4 -0
- package/dist/api/resources/routing/exports.d.ts +2 -0
- package/dist/api/resources/routing/exports.js +3 -0
- package/dist/api/resources/routing/index.d.ts +1 -0
- package/dist/api/resources/routing/index.js +1 -0
- package/dist/api/resources/snippets/client/Client.d.ts +76 -0
- package/dist/api/resources/snippets/client/Client.js +230 -0
- package/dist/api/resources/snippets/client/index.d.ts +1 -0
- package/dist/api/resources/snippets/client/index.js +1 -0
- package/dist/api/resources/snippets/client/requests/CreateSnippetInputBody.d.ts +21 -0
- package/dist/api/resources/snippets/client/requests/CreateSnippetInputBody.js +2 -0
- package/dist/api/resources/snippets/client/requests/DeleteSnippetsRequest.d.ts +10 -0
- package/dist/api/resources/snippets/client/requests/DeleteSnippetsRequest.js +2 -0
- package/dist/api/resources/snippets/client/requests/GetSnippetsRequest.d.ts +10 -0
- package/dist/api/resources/snippets/client/requests/GetSnippetsRequest.js +2 -0
- package/dist/api/resources/snippets/client/requests/UpdateSnippetInputBody.d.ts +22 -0
- package/dist/api/resources/snippets/client/requests/UpdateSnippetInputBody.js +2 -0
- package/dist/api/resources/snippets/client/requests/index.d.ts +4 -0
- package/dist/api/resources/snippets/client/requests/index.js +1 -0
- package/dist/api/resources/snippets/exports.d.ts +2 -0
- package/dist/api/resources/snippets/exports.js +3 -0
- package/dist/api/resources/snippets/index.d.ts +1 -0
- package/dist/api/resources/snippets/index.js +1 -0
- package/dist/api/resources/tags/client/Client.d.ts +62 -0
- package/dist/api/resources/tags/client/Client.js +186 -0
- package/dist/api/resources/tags/client/index.d.ts +1 -0
- package/dist/api/resources/tags/client/index.js +1 -0
- package/dist/api/resources/tags/client/requests/CreateTagInputBody.d.ts +24 -0
- package/dist/api/resources/tags/client/requests/CreateTagInputBody.js +13 -0
- package/dist/api/resources/tags/client/requests/DeleteTagsRequest.d.ts +10 -0
- package/dist/api/resources/tags/client/requests/DeleteTagsRequest.js +2 -0
- package/dist/api/resources/tags/client/requests/UpdateTagInputBody.d.ts +24 -0
- package/dist/api/resources/tags/client/requests/UpdateTagInputBody.js +13 -0
- package/dist/api/resources/tags/client/requests/index.d.ts +3 -0
- package/dist/api/resources/tags/client/requests/index.js +2 -0
- package/dist/api/resources/tags/exports.d.ts +2 -0
- package/dist/api/resources/tags/exports.js +3 -0
- package/dist/api/resources/tags/index.d.ts +1 -0
- package/dist/api/resources/tags/index.js +1 -0
- package/dist/api/resources/templates/client/Client.d.ts +100 -0
- package/dist/api/resources/templates/client/Client.js +313 -0
- package/dist/api/resources/templates/client/index.d.ts +1 -0
- package/dist/api/resources/templates/client/index.js +1 -0
- package/dist/api/resources/templates/client/requests/CreateTemplateInputBody.d.ts +42 -0
- package/dist/api/resources/templates/client/requests/CreateTemplateInputBody.js +2 -0
- package/dist/api/resources/templates/client/requests/DeleteTemplatesRequest.d.ts +10 -0
- package/dist/api/resources/templates/client/requests/DeleteTemplatesRequest.js +2 -0
- package/dist/api/resources/templates/client/requests/GetTemplatesRequest.d.ts +10 -0
- package/dist/api/resources/templates/client/requests/GetTemplatesRequest.js +2 -0
- package/dist/api/resources/templates/client/requests/SubmitTemplatesRequest.d.ts +10 -0
- package/dist/api/resources/templates/client/requests/SubmitTemplatesRequest.js +2 -0
- package/dist/api/resources/templates/client/requests/UpdateTemplateInputBody.d.ts +42 -0
- package/dist/api/resources/templates/client/requests/UpdateTemplateInputBody.js +2 -0
- package/dist/api/resources/templates/client/requests/index.d.ts +5 -0
- package/dist/api/resources/templates/client/requests/index.js +1 -0
- package/dist/api/resources/templates/exports.d.ts +2 -0
- package/dist/api/resources/templates/exports.js +3 -0
- package/dist/api/resources/templates/index.d.ts +1 -0
- package/dist/api/resources/templates/index.js +1 -0
- package/dist/api/resources/webhooks/client/Client.d.ts +152 -0
- package/dist/api/resources/webhooks/client/Client.js +490 -0
- package/dist/api/resources/webhooks/client/index.d.ts +1 -0
- package/dist/api/resources/webhooks/client/index.js +1 -0
- package/dist/api/resources/webhooks/client/requests/CreateActionInputBody.d.ts +21 -0
- package/dist/api/resources/webhooks/client/requests/CreateActionInputBody.js +2 -0
- package/dist/api/resources/webhooks/client/requests/CreateWebhookInputBody.d.ts +21 -0
- package/dist/api/resources/webhooks/client/requests/CreateWebhookInputBody.js +2 -0
- package/dist/api/resources/webhooks/client/requests/DeleteActionWebhooksRequest.d.ts +10 -0
- package/dist/api/resources/webhooks/client/requests/DeleteActionWebhooksRequest.js +2 -0
- package/dist/api/resources/webhooks/client/requests/DeleteWebhooksRequest.d.ts +10 -0
- package/dist/api/resources/webhooks/client/requests/DeleteWebhooksRequest.js +2 -0
- package/dist/api/resources/webhooks/client/requests/GetActionWebhooksRequest.d.ts +10 -0
- package/dist/api/resources/webhooks/client/requests/GetActionWebhooksRequest.js +2 -0
- package/dist/api/resources/webhooks/client/requests/GetWebhooksRequest.d.ts +10 -0
- package/dist/api/resources/webhooks/client/requests/GetWebhooksRequest.js +2 -0
- package/dist/api/resources/webhooks/client/requests/TestWebhooksRequest.d.ts +10 -0
- package/dist/api/resources/webhooks/client/requests/TestWebhooksRequest.js +2 -0
- package/dist/api/resources/webhooks/client/requests/UpdateActionInputBody.d.ts +22 -0
- package/dist/api/resources/webhooks/client/requests/UpdateActionInputBody.js +2 -0
- package/dist/api/resources/webhooks/client/requests/UpdateWebhookInputBody.d.ts +22 -0
- package/dist/api/resources/webhooks/client/requests/UpdateWebhookInputBody.js +2 -0
- package/dist/api/resources/webhooks/client/requests/index.d.ts +9 -0
- package/dist/api/resources/webhooks/client/requests/index.js +1 -0
- package/dist/api/resources/webhooks/exports.d.ts +2 -0
- package/dist/api/resources/webhooks/exports.js +3 -0
- package/dist/api/resources/webhooks/index.d.ts +1 -0
- package/dist/api/resources/webhooks/index.js +1 -0
- package/dist/api/types/ActionResponse.d.ts +23 -0
- package/dist/api/types/ActionResponse.js +2 -0
- package/dist/api/types/AddRecipientsOutputBody.d.ts +7 -0
- package/dist/api/types/AddRecipientsOutputBody.js +2 -0
- package/dist/api/types/AgentResponse.d.ts +18 -0
- package/dist/api/types/AgentResponse.js +2 -0
- package/dist/api/types/AutomationConfigResponse.d.ts +48 -0
- package/dist/api/types/AutomationConfigResponse.js +2 -0
- package/dist/api/types/AutomationTriggerResponse.d.ts +40 -0
- package/dist/api/types/AutomationTriggerResponse.js +2 -0
- package/dist/api/types/AutomationWorkflowResponse.d.ts +46 -0
- package/dist/api/types/AutomationWorkflowResponse.js +2 -0
- package/dist/api/types/CampaignResponse.d.ts +48 -0
- package/dist/api/types/CampaignResponse.js +2 -0
- package/dist/api/types/ChannelResponse.d.ts +43 -0
- package/dist/api/types/ChannelResponse.js +10 -0
- package/dist/api/types/ChartDataPointResponse.d.ts +6 -0
- package/dist/api/types/ChartDataPointResponse.js +2 -0
- package/dist/api/types/ContactResponse.d.ts +34 -0
- package/dist/api/types/ContactResponse.js +2 -0
- package/dist/api/types/CreateDownloadUrlOutputBody.d.ts +8 -0
- package/dist/api/types/CreateDownloadUrlOutputBody.js +2 -0
- package/dist/api/types/CreateUploadUrlOutputBody.d.ts +10 -0
- package/dist/api/types/CreateUploadUrlOutputBody.js +2 -0
- package/dist/api/types/ErrorDetail.d.ts +8 -0
- package/dist/api/types/ErrorDetail.js +2 -0
- package/dist/api/types/ErrorModel.d.ts +17 -0
- package/dist/api/types/ErrorModel.js +2 -0
- package/dist/api/types/EventResponse.d.ts +21 -0
- package/dist/api/types/EventResponse.js +2 -0
- package/dist/api/types/HandoffResponse.d.ts +48 -0
- package/dist/api/types/HandoffResponse.js +2 -0
- package/dist/api/types/IdentityAccountResponse.d.ts +28 -0
- package/dist/api/types/IdentityAccountResponse.js +2 -0
- package/dist/api/types/IntelligenceContextResponse.d.ts +39 -0
- package/dist/api/types/IntelligenceContextResponse.js +9 -0
- package/dist/api/types/ListAccountsOutputBody.d.ts +7 -0
- package/dist/api/types/ListAccountsOutputBody.js +2 -0
- package/dist/api/types/ListActionsOutputBody.d.ts +7 -0
- package/dist/api/types/ListActionsOutputBody.js +2 -0
- package/dist/api/types/ListAgentsOutputBody.d.ts +7 -0
- package/dist/api/types/ListAgentsOutputBody.js +2 -0
- package/dist/api/types/ListCampaignsOutputBody.d.ts +7 -0
- package/dist/api/types/ListCampaignsOutputBody.js +2 -0
- package/dist/api/types/ListChannelsOutputBody.d.ts +7 -0
- package/dist/api/types/ListChannelsOutputBody.js +2 -0
- package/dist/api/types/ListContactsOutputBody.d.ts +7 -0
- package/dist/api/types/ListContactsOutputBody.js +2 -0
- package/dist/api/types/ListContextsOutputBody.d.ts +7 -0
- package/dist/api/types/ListContextsOutputBody.js +2 -0
- package/dist/api/types/ListEventsOutputBody.d.ts +7 -0
- package/dist/api/types/ListEventsOutputBody.js +2 -0
- package/dist/api/types/ListHandoffsOutputBody.d.ts +7 -0
- package/dist/api/types/ListHandoffsOutputBody.js +2 -0
- package/dist/api/types/ListMessagesOutputBody.d.ts +7 -0
- package/dist/api/types/ListMessagesOutputBody.js +2 -0
- package/dist/api/types/ListOrganizationsOutputBody.d.ts +7 -0
- package/dist/api/types/ListOrganizationsOutputBody.js +2 -0
- package/dist/api/types/ListPanelsOutputBody.d.ts +7 -0
- package/dist/api/types/ListPanelsOutputBody.js +2 -0
- package/dist/api/types/ListProductsOutputBody.d.ts +7 -0
- package/dist/api/types/ListProductsOutputBody.js +2 -0
- package/dist/api/types/ListRecipientsOutputBody.d.ts +7 -0
- package/dist/api/types/ListRecipientsOutputBody.js +2 -0
- package/dist/api/types/ListSnippetsOutputBody.d.ts +7 -0
- package/dist/api/types/ListSnippetsOutputBody.js +2 -0
- package/dist/api/types/ListStoresOutputBody.d.ts +7 -0
- package/dist/api/types/ListStoresOutputBody.js +2 -0
- package/dist/api/types/ListTagsOutputBody.d.ts +7 -0
- package/dist/api/types/ListTagsOutputBody.js +2 -0
- package/dist/api/types/ListTeamsOutputBody.d.ts +7 -0
- package/dist/api/types/ListTeamsOutputBody.js +2 -0
- package/dist/api/types/ListTemplatesOutputBody.d.ts +7 -0
- package/dist/api/types/ListTemplatesOutputBody.js +2 -0
- package/dist/api/types/ListTriggersOutputBody.d.ts +7 -0
- package/dist/api/types/ListTriggersOutputBody.js +2 -0
- package/dist/api/types/ListWebhooksOutputBody.d.ts +7 -0
- package/dist/api/types/ListWebhooksOutputBody.js +2 -0
- package/dist/api/types/ListWorkflowsOutputBody.d.ts +7 -0
- package/dist/api/types/ListWorkflowsOutputBody.js +2 -0
- package/dist/api/types/LoginOutputBody.d.ts +13 -0
- package/dist/api/types/LoginOutputBody.js +2 -0
- package/dist/api/types/MessageResponse.d.ts +45 -0
- package/dist/api/types/MessageResponse.js +2 -0
- package/dist/api/types/OrganizationResponse.d.ts +16 -0
- package/dist/api/types/OrganizationResponse.js +2 -0
- package/dist/api/types/PanelDataResponse.d.ts +13 -0
- package/dist/api/types/PanelDataResponse.js +2 -0
- package/dist/api/types/PanelFilterInput.d.ts +21 -0
- package/dist/api/types/PanelFilterInput.js +14 -0
- package/dist/api/types/PanelFilterResponse.d.ts +8 -0
- package/dist/api/types/PanelFilterResponse.js +2 -0
- package/dist/api/types/PanelResponse.d.ts +55 -0
- package/dist/api/types/PanelResponse.js +2 -0
- package/dist/api/types/ProductResponse.d.ts +34 -0
- package/dist/api/types/ProductResponse.js +2 -0
- package/dist/api/types/RecipientInput.d.ts +10 -0
- package/dist/api/types/RecipientInput.js +2 -0
- package/dist/api/types/RecipientResponse.d.ts +30 -0
- package/dist/api/types/RecipientResponse.js +2 -0
- package/dist/api/types/RefreshOutputBody.d.ts +10 -0
- package/dist/api/types/RefreshOutputBody.js +2 -0
- package/dist/api/types/RegisterOutputBody.d.ts +7 -0
- package/dist/api/types/RegisterOutputBody.js +2 -0
- package/dist/api/types/SnippetResponse.d.ts +27 -0
- package/dist/api/types/SnippetResponse.js +2 -0
- package/dist/api/types/StoreResponse.d.ts +22 -0
- package/dist/api/types/StoreResponse.js +2 -0
- package/dist/api/types/TagResponse.d.ts +14 -0
- package/dist/api/types/TagResponse.js +2 -0
- package/dist/api/types/TeamResponse.d.ts +26 -0
- package/dist/api/types/TeamResponse.js +2 -0
- package/dist/api/types/TemplateResponse.d.ts +46 -0
- package/dist/api/types/TemplateResponse.js +2 -0
- package/dist/api/types/WebhookResponse.d.ts +22 -0
- package/dist/api/types/WebhookResponse.js +2 -0
- package/dist/api/types/index.d.ts +58 -0
- package/dist/api/types/index.js +58 -0
- package/dist/auth/BearerAuthProvider.d.ts +20 -0
- package/dist/auth/BearerAuthProvider.js +32 -0
- package/dist/auth/index.d.ts +1 -0
- package/dist/auth/index.js +1 -0
- package/dist/core/auth/AuthProvider.d.ts +8 -0
- package/dist/core/auth/AuthProvider.js +6 -0
- package/dist/core/auth/AuthRequest.d.ts +9 -0
- package/dist/core/auth/AuthRequest.js +1 -0
- package/dist/core/auth/BasicAuth.d.ts +8 -0
- package/dist/core/auth/BasicAuth.js +29 -0
- package/dist/core/auth/BearerToken.d.ts +7 -0
- package/dist/core/auth/BearerToken.js +13 -0
- package/dist/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/dist/core/auth/NoOpAuthProvider.js +5 -0
- package/dist/core/auth/index.d.ts +5 -0
- package/dist/core/auth/index.js +4 -0
- package/dist/core/base64.d.ts +2 -0
- package/dist/core/base64.js +22 -0
- package/dist/core/exports.d.ts +1 -0
- package/dist/core/exports.js +1 -0
- package/dist/core/fetcher/APIResponse.d.ts +20 -0
- package/dist/core/fetcher/APIResponse.js +1 -0
- package/dist/core/fetcher/BinaryResponse.d.ts +19 -0
- package/dist/core/fetcher/BinaryResponse.js +14 -0
- package/dist/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/core/fetcher/EndpointMetadata.js +1 -0
- package/dist/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/core/fetcher/EndpointSupplier.js +10 -0
- package/dist/core/fetcher/Fetcher.d.ts +56 -0
- package/dist/core/fetcher/Fetcher.js +306 -0
- package/dist/core/fetcher/Headers.d.ts +2 -0
- package/dist/core/fetcher/Headers.js +83 -0
- package/dist/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/core/fetcher/HttpResponsePromise.js +90 -0
- package/dist/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/core/fetcher/RawResponse.js +40 -0
- package/dist/core/fetcher/Supplier.d.ts +4 -0
- package/dist/core/fetcher/Supplier.js +10 -0
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/core/fetcher/createRequestUrl.js +5 -0
- package/dist/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getErrorResponseBody.js +30 -0
- package/dist/core/fetcher/getFetchFn.d.ts +1 -0
- package/dist/core/fetcher/getFetchFn.js +3 -0
- package/dist/core/fetcher/getHeader.d.ts +1 -0
- package/dist/core/fetcher/getHeader.js +8 -0
- package/dist/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/core/fetcher/getRequestBody.js +13 -0
- package/dist/core/fetcher/getResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getResponseBody.js +55 -0
- package/dist/core/fetcher/index.d.ts +13 -0
- package/dist/core/fetcher/index.js +7 -0
- package/dist/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/dist/core/fetcher/makePassthroughRequest.js +119 -0
- package/dist/core/fetcher/makeRequest.d.ts +6 -0
- package/dist/core/fetcher/makeRequest.js +53 -0
- package/dist/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/core/fetcher/requestWithRetries.js +56 -0
- package/dist/core/fetcher/signals.d.ts +5 -0
- package/dist/core/fetcher/signals.js +20 -0
- package/dist/core/headers.d.ts +2 -0
- package/dist/core/headers.js +27 -0
- package/dist/core/index.d.ts +6 -0
- package/dist/core/index.js +6 -0
- package/dist/core/json.d.ts +15 -0
- package/dist/core/json.js +19 -0
- package/dist/core/logging/exports.d.ts +18 -0
- package/dist/core/logging/exports.js +9 -0
- package/dist/core/logging/index.d.ts +1 -0
- package/dist/core/logging/index.js +1 -0
- package/dist/core/logging/logger.d.ts +126 -0
- package/dist/core/logging/logger.js +140 -0
- package/dist/core/runtime/index.d.ts +1 -0
- package/dist/core/runtime/index.js +1 -0
- package/dist/core/runtime/runtime.d.ts +9 -0
- package/dist/core/runtime/runtime.js +100 -0
- package/dist/core/url/QueryStringBuilder.d.ts +47 -0
- package/dist/core/url/QueryStringBuilder.js +78 -0
- package/dist/core/url/encodePathParam.d.ts +1 -0
- package/dist/core/url/encodePathParam.js +18 -0
- package/dist/core/url/index.d.ts +4 -0
- package/dist/core/url/index.js +4 -0
- package/dist/core/url/join.d.ts +1 -0
- package/dist/core/url/join.js +65 -0
- package/dist/core/url/qs.d.ts +7 -0
- package/dist/core/url/qs.js +76 -0
- package/dist/environments.d.ts +4 -0
- package/dist/environments.js +4 -0
- package/dist/errors/BoltixApiError.d.ts +14 -0
- package/dist/errors/BoltixApiError.js +35 -0
- package/dist/errors/BoltixApiTimeoutError.d.ts +6 -0
- package/dist/errors/BoltixApiTimeoutError.js +15 -0
- package/dist/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/errors/handleNonStatusCodeError.js +32 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.js +2 -0
- package/dist/exports.d.ts +1 -0
- package/dist/exports.js +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +5 -0
- package/package.json +37 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* id: "id"
|
|
5
|
+
* }
|
|
6
|
+
*/
|
|
7
|
+
export interface UpdateWebhookInputBody {
|
|
8
|
+
/** Webhook ID */
|
|
9
|
+
id: string;
|
|
10
|
+
/** Event types this webhook subscribes to */
|
|
11
|
+
events?: unknown;
|
|
12
|
+
/** Custom HTTP headers sent with deliveries */
|
|
13
|
+
headers?: unknown;
|
|
14
|
+
/** Whether the webhook is active */
|
|
15
|
+
is_active?: boolean;
|
|
16
|
+
/** Webhook name */
|
|
17
|
+
name?: string;
|
|
18
|
+
/** Optional signing secret */
|
|
19
|
+
secret?: string;
|
|
20
|
+
/** Destination URL */
|
|
21
|
+
url?: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type { CreateActionInputBody } from "./CreateActionInputBody.js";
|
|
2
|
+
export type { CreateWebhookInputBody } from "./CreateWebhookInputBody.js";
|
|
3
|
+
export type { DeleteActionWebhooksRequest } from "./DeleteActionWebhooksRequest.js";
|
|
4
|
+
export type { DeleteWebhooksRequest } from "./DeleteWebhooksRequest.js";
|
|
5
|
+
export type { GetActionWebhooksRequest } from "./GetActionWebhooksRequest.js";
|
|
6
|
+
export type { GetWebhooksRequest } from "./GetWebhooksRequest.js";
|
|
7
|
+
export type { TestWebhooksRequest } from "./TestWebhooksRequest.js";
|
|
8
|
+
export type { UpdateActionInputBody } from "./UpdateActionInputBody.js";
|
|
9
|
+
export type { UpdateWebhookInputBody } from "./UpdateWebhookInputBody.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.js";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface ActionResponse {
|
|
2
|
+
/** A URL to the JSON Schema for this object. */
|
|
3
|
+
$schema?: string | undefined;
|
|
4
|
+
/** Type of action */
|
|
5
|
+
action_type: string;
|
|
6
|
+
config?: unknown | undefined;
|
|
7
|
+
/** Creation timestamp */
|
|
8
|
+
created: string;
|
|
9
|
+
/** Display ordering index */
|
|
10
|
+
display_order: number;
|
|
11
|
+
/** Optional icon identifier */
|
|
12
|
+
icon?: string | undefined;
|
|
13
|
+
/** Action ID */
|
|
14
|
+
id: string;
|
|
15
|
+
/** Whether the action is active */
|
|
16
|
+
is_active: boolean;
|
|
17
|
+
/** Last modification timestamp */
|
|
18
|
+
modified: string;
|
|
19
|
+
/** Action name */
|
|
20
|
+
name: string;
|
|
21
|
+
/** Organization that owns this action */
|
|
22
|
+
organization_id: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface AgentResponse {
|
|
2
|
+
/** A URL to the JSON Schema for this object. */
|
|
3
|
+
$schema?: string | undefined;
|
|
4
|
+
/** Account ID */
|
|
5
|
+
account_id: string;
|
|
6
|
+
/** Creation timestamp */
|
|
7
|
+
created: string;
|
|
8
|
+
/** Agent membership ID */
|
|
9
|
+
id: string;
|
|
10
|
+
/** Last assignment timestamp */
|
|
11
|
+
last_assigned?: string | undefined;
|
|
12
|
+
/** Last modification timestamp */
|
|
13
|
+
modified: string;
|
|
14
|
+
/** Agent role */
|
|
15
|
+
role: string;
|
|
16
|
+
/** Team ID */
|
|
17
|
+
team_id: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export interface AutomationConfigResponse {
|
|
2
|
+
/** A URL to the JSON Schema for this object. */
|
|
3
|
+
$schema?: string | undefined;
|
|
4
|
+
/** Whether AI assistance is enabled */
|
|
5
|
+
ai_enabled: boolean;
|
|
6
|
+
/** AI model identifier */
|
|
7
|
+
ai_model?: string | undefined;
|
|
8
|
+
/** AI provider name */
|
|
9
|
+
ai_provider?: string | undefined;
|
|
10
|
+
/** System prompt for AI */
|
|
11
|
+
ai_system_prompt?: string | undefined;
|
|
12
|
+
/** Whether agents can pick up queued conversations */
|
|
13
|
+
allow_queue_pickup: boolean;
|
|
14
|
+
/** Whether to assign to the same agent on re-contact */
|
|
15
|
+
assign_to_same_agent: boolean;
|
|
16
|
+
business_hours?: unknown | undefined;
|
|
17
|
+
/** Whether business hours are enforced */
|
|
18
|
+
business_hours_enabled: boolean;
|
|
19
|
+
/** Optional channel name scope */
|
|
20
|
+
channel_name?: string | undefined;
|
|
21
|
+
/** Creation timestamp */
|
|
22
|
+
created: string;
|
|
23
|
+
/** Default response message */
|
|
24
|
+
default_response?: string | undefined;
|
|
25
|
+
/** Whether automation is enabled */
|
|
26
|
+
enabled: boolean;
|
|
27
|
+
excluded_numbers?: unknown | undefined;
|
|
28
|
+
fallback_buttons?: unknown | undefined;
|
|
29
|
+
/** Fallback message when no rule matches */
|
|
30
|
+
fallback_message?: string | undefined;
|
|
31
|
+
greeting_buttons?: unknown | undefined;
|
|
32
|
+
/** Config ID */
|
|
33
|
+
id: string;
|
|
34
|
+
/** Last modification timestamp */
|
|
35
|
+
modified: string;
|
|
36
|
+
/** Organization that owns this config */
|
|
37
|
+
organization_id: string;
|
|
38
|
+
/** Message sent outside business hours */
|
|
39
|
+
out_of_hours_message?: string | undefined;
|
|
40
|
+
/** Session timeout in minutes */
|
|
41
|
+
session_timeout_mins: number;
|
|
42
|
+
/** Whether SLA tracking is enabled */
|
|
43
|
+
sla_enabled: boolean;
|
|
44
|
+
/** SLA resolution time in minutes */
|
|
45
|
+
sla_resolution_minutes: number;
|
|
46
|
+
/** SLA response time in minutes */
|
|
47
|
+
sla_response_minutes: number;
|
|
48
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export interface AutomationTriggerResponse {
|
|
2
|
+
/** A URL to the JSON Schema for this object. */
|
|
3
|
+
$schema?: string | undefined;
|
|
4
|
+
/** When the trigger becomes active */
|
|
5
|
+
active_from?: string | undefined;
|
|
6
|
+
/** When the trigger expires */
|
|
7
|
+
active_until?: string | undefined;
|
|
8
|
+
/** Whether keyword matching is case-sensitive */
|
|
9
|
+
case_sensitive: boolean;
|
|
10
|
+
/** Optional channel name scope */
|
|
11
|
+
channel_name?: string | undefined;
|
|
12
|
+
/** Additional matching conditions */
|
|
13
|
+
conditions?: string | undefined;
|
|
14
|
+
/** Creation timestamp */
|
|
15
|
+
created: string;
|
|
16
|
+
/** Account that created the trigger */
|
|
17
|
+
created_by?: string | undefined;
|
|
18
|
+
/** Whether the trigger is active */
|
|
19
|
+
enabled: boolean;
|
|
20
|
+
/** Trigger ID */
|
|
21
|
+
id: string;
|
|
22
|
+
/** Keywords to match */
|
|
23
|
+
keywords?: unknown | undefined;
|
|
24
|
+
/** How keywords are matched (exact, contains, starts_with, regex) */
|
|
25
|
+
match_type: string;
|
|
26
|
+
/** Last modification timestamp */
|
|
27
|
+
modified: string;
|
|
28
|
+
/** Trigger name */
|
|
29
|
+
name: string;
|
|
30
|
+
/** Organization that owns this trigger */
|
|
31
|
+
organization_id: string;
|
|
32
|
+
/** Matching priority (lower number = higher priority) */
|
|
33
|
+
priority: number;
|
|
34
|
+
/** Response content payload */
|
|
35
|
+
response_content?: unknown | undefined;
|
|
36
|
+
/** Type of automated response */
|
|
37
|
+
response_type?: string | undefined;
|
|
38
|
+
/** Account that last updated the trigger */
|
|
39
|
+
updated_by?: string | undefined;
|
|
40
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export interface AutomationWorkflowResponse {
|
|
2
|
+
/** A URL to the JSON Schema for this object. */
|
|
3
|
+
$schema?: string | undefined;
|
|
4
|
+
/** Keywords that cancel the workflow */
|
|
5
|
+
cancel_keywords?: unknown | undefined;
|
|
6
|
+
/** Optional channel name scope */
|
|
7
|
+
channel_name?: string | undefined;
|
|
8
|
+
/** Completion action configuration */
|
|
9
|
+
completion_config?: unknown | undefined;
|
|
10
|
+
/** Message sent when workflow completes */
|
|
11
|
+
completion_message?: string | undefined;
|
|
12
|
+
/** Creation timestamp */
|
|
13
|
+
created: string;
|
|
14
|
+
/** Account that created the workflow */
|
|
15
|
+
created_by?: string | undefined;
|
|
16
|
+
/** Optional workflow description */
|
|
17
|
+
description?: string | undefined;
|
|
18
|
+
/** Whether the workflow is active */
|
|
19
|
+
enabled: boolean;
|
|
20
|
+
/** Workflow graph definition */
|
|
21
|
+
graph?: unknown | undefined;
|
|
22
|
+
/** Workflow ID */
|
|
23
|
+
id: string;
|
|
24
|
+
/** Initial message sent when workflow starts */
|
|
25
|
+
initial_message?: string | undefined;
|
|
26
|
+
/** Type of the initial message */
|
|
27
|
+
initial_message_type: string;
|
|
28
|
+
/** Last modification timestamp */
|
|
29
|
+
modified: string;
|
|
30
|
+
/** Workflow name */
|
|
31
|
+
name: string;
|
|
32
|
+
/** Action performed on completion */
|
|
33
|
+
on_complete_action?: string | undefined;
|
|
34
|
+
/** Organization that owns this workflow */
|
|
35
|
+
organization_id: string;
|
|
36
|
+
/** Panel UI configuration */
|
|
37
|
+
panel_config?: unknown | undefined;
|
|
38
|
+
/** Message sent when workflow times out */
|
|
39
|
+
timeout_message?: string | undefined;
|
|
40
|
+
/** Button ID that triggers this workflow */
|
|
41
|
+
trigger_button_id?: string | undefined;
|
|
42
|
+
/** Keywords that trigger this workflow */
|
|
43
|
+
trigger_keywords?: unknown | undefined;
|
|
44
|
+
/** Account that last updated the workflow */
|
|
45
|
+
updated_by?: string | undefined;
|
|
46
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export interface CampaignResponse {
|
|
2
|
+
/** A URL to the JSON Schema for this object. */
|
|
3
|
+
$schema?: string | undefined;
|
|
4
|
+
/** WhatsApp channel name */
|
|
5
|
+
channel_name?: string | undefined;
|
|
6
|
+
/** Time the campaign completed */
|
|
7
|
+
completed_at?: string | undefined;
|
|
8
|
+
/** Creation timestamp */
|
|
9
|
+
created: string;
|
|
10
|
+
/** Account that created the campaign */
|
|
11
|
+
created_by?: string | undefined;
|
|
12
|
+
/** Number of messages delivered */
|
|
13
|
+
delivered_count: number;
|
|
14
|
+
/** Number of messages failed */
|
|
15
|
+
failed_count: number;
|
|
16
|
+
/** Header media filename */
|
|
17
|
+
header_media_filename?: string | undefined;
|
|
18
|
+
/** Header media ID */
|
|
19
|
+
header_media_id?: string | undefined;
|
|
20
|
+
/** Header media local path */
|
|
21
|
+
header_media_local_path?: string | undefined;
|
|
22
|
+
/** Header media MIME type */
|
|
23
|
+
header_media_mime_type?: string | undefined;
|
|
24
|
+
/** Campaign ID */
|
|
25
|
+
id: string;
|
|
26
|
+
/** Last modification timestamp */
|
|
27
|
+
modified: string;
|
|
28
|
+
/** Campaign name */
|
|
29
|
+
name: string;
|
|
30
|
+
/** Organization that owns this campaign */
|
|
31
|
+
organization_id: string;
|
|
32
|
+
/** Number of messages read */
|
|
33
|
+
read_count: number;
|
|
34
|
+
/** Scheduled send time */
|
|
35
|
+
scheduled_at?: string | undefined;
|
|
36
|
+
/** Number of messages sent */
|
|
37
|
+
sent_count: number;
|
|
38
|
+
/** Time the campaign started */
|
|
39
|
+
started_at?: string | undefined;
|
|
40
|
+
/** Campaign lifecycle status */
|
|
41
|
+
status: string;
|
|
42
|
+
/** Template used for this campaign */
|
|
43
|
+
template_id?: string | undefined;
|
|
44
|
+
/** Total number of recipients */
|
|
45
|
+
total_recipients: number;
|
|
46
|
+
/** Account that last updated the campaign */
|
|
47
|
+
updated_by?: string | undefined;
|
|
48
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export interface ChannelResponse {
|
|
2
|
+
/** A URL to the JSON Schema for this object. */
|
|
3
|
+
$schema?: string | undefined;
|
|
4
|
+
/** Meta API version (e.g. v21.0) */
|
|
5
|
+
api_version: string;
|
|
6
|
+
/** Meta App ID */
|
|
7
|
+
app_id: string;
|
|
8
|
+
/** Whether incoming messages are automatically marked as read */
|
|
9
|
+
auto_read: boolean;
|
|
10
|
+
/** Meta Business ID */
|
|
11
|
+
business_id: string;
|
|
12
|
+
/** Optional JSON configuration blob */
|
|
13
|
+
config?: unknown | undefined;
|
|
14
|
+
/** Creation timestamp */
|
|
15
|
+
created: string;
|
|
16
|
+
/** Channel ID */
|
|
17
|
+
id: string;
|
|
18
|
+
/** Last modification timestamp */
|
|
19
|
+
modified: string;
|
|
20
|
+
/** Channel name */
|
|
21
|
+
name: string;
|
|
22
|
+
/** Organization that owns this channel */
|
|
23
|
+
organization_id: string;
|
|
24
|
+
/** Meta phone number ID */
|
|
25
|
+
phone_id: string;
|
|
26
|
+
/** Whether this is the primary inbound channel */
|
|
27
|
+
primary_inbound: boolean;
|
|
28
|
+
/** Whether this is the primary outbound channel */
|
|
29
|
+
primary_outbound: boolean;
|
|
30
|
+
/** Channel operational status */
|
|
31
|
+
status: ChannelResponse.Status;
|
|
32
|
+
/** Webhook verify token */
|
|
33
|
+
verify_token: string;
|
|
34
|
+
}
|
|
35
|
+
export declare namespace ChannelResponse {
|
|
36
|
+
/** Channel operational status */
|
|
37
|
+
const Status: {
|
|
38
|
+
readonly Active: "active";
|
|
39
|
+
readonly Inactive: "inactive";
|
|
40
|
+
readonly Pending: "pending";
|
|
41
|
+
};
|
|
42
|
+
type Status = (typeof Status)[keyof typeof Status];
|
|
43
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var ChannelResponse;
|
|
3
|
+
(function (ChannelResponse) {
|
|
4
|
+
/** Channel operational status */
|
|
5
|
+
ChannelResponse.Status = {
|
|
6
|
+
Active: "active",
|
|
7
|
+
Inactive: "inactive",
|
|
8
|
+
Pending: "pending",
|
|
9
|
+
};
|
|
10
|
+
})(ChannelResponse || (ChannelResponse = {}));
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export interface ContactResponse {
|
|
2
|
+
/** A URL to the JSON Schema for this object. */
|
|
3
|
+
$schema?: string | undefined;
|
|
4
|
+
/** Account the contact is assigned to */
|
|
5
|
+
assigned_to?: string | undefined;
|
|
6
|
+
/** Optional avatar URL */
|
|
7
|
+
avatar_url?: string | undefined;
|
|
8
|
+
/** Channel the contact belongs to */
|
|
9
|
+
channel_name: string;
|
|
10
|
+
/** Creation timestamp */
|
|
11
|
+
created: string;
|
|
12
|
+
/** Optional display name */
|
|
13
|
+
display_name?: string | undefined;
|
|
14
|
+
/** Contact ID */
|
|
15
|
+
id: string;
|
|
16
|
+
/** Timestamp of last activity */
|
|
17
|
+
last_activity?: string | undefined;
|
|
18
|
+
/** Timestamp of last inbound message */
|
|
19
|
+
last_inbound?: string | undefined;
|
|
20
|
+
/** Preview text of the last message */
|
|
21
|
+
last_preview?: string | undefined;
|
|
22
|
+
/** Whether the contact has opted out of marketing */
|
|
23
|
+
marketing_optout: boolean;
|
|
24
|
+
metadata?: unknown | undefined;
|
|
25
|
+
/** Last modification timestamp */
|
|
26
|
+
modified: string;
|
|
27
|
+
/** Organization that owns this contact */
|
|
28
|
+
organization_id: string;
|
|
29
|
+
/** Contact phone number */
|
|
30
|
+
phone_number: string;
|
|
31
|
+
/** Whether the conversation has been read */
|
|
32
|
+
read: boolean;
|
|
33
|
+
tags?: unknown | undefined;
|
|
34
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface CreateDownloadUrlOutputBody {
|
|
2
|
+
/** A URL to the JSON Schema for this object. */
|
|
3
|
+
$schema?: string | undefined;
|
|
4
|
+
/** Presigned URL to GET the file from */
|
|
5
|
+
download_url: string;
|
|
6
|
+
/** Seconds until the download URL expires */
|
|
7
|
+
expires_in: number;
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface CreateUploadUrlOutputBody {
|
|
2
|
+
/** A URL to the JSON Schema for this object. */
|
|
3
|
+
$schema?: string | undefined;
|
|
4
|
+
/** Seconds until the upload URL expires */
|
|
5
|
+
expires_in: number;
|
|
6
|
+
/** Storage key to reference as media_url when sending the message */
|
|
7
|
+
key: string;
|
|
8
|
+
/** Presigned URL to PUT the file to */
|
|
9
|
+
upload_url: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface ErrorDetail {
|
|
2
|
+
/** Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id' */
|
|
3
|
+
location?: string | undefined;
|
|
4
|
+
/** Error message text */
|
|
5
|
+
message?: string | undefined;
|
|
6
|
+
/** The value at the given location */
|
|
7
|
+
value?: unknown | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type * as BoltixApi from "../index.js";
|
|
2
|
+
export interface ErrorModel {
|
|
3
|
+
/** A URL to the JSON Schema for this object. */
|
|
4
|
+
$schema?: string | undefined;
|
|
5
|
+
/** A human-readable explanation specific to this occurrence of the problem. */
|
|
6
|
+
detail?: string | undefined;
|
|
7
|
+
/** Optional list of individual error details */
|
|
8
|
+
errors?: (BoltixApi.ErrorDetail[] | null) | undefined;
|
|
9
|
+
/** A URI reference that identifies the specific occurrence of the problem. */
|
|
10
|
+
instance?: string | undefined;
|
|
11
|
+
/** HTTP status code */
|
|
12
|
+
status?: number | undefined;
|
|
13
|
+
/** A short, human-readable summary of the problem type. This value should not change between occurrences of the error. */
|
|
14
|
+
title?: string | undefined;
|
|
15
|
+
/** A URI reference to human-readable documentation for the error. */
|
|
16
|
+
type?: string | undefined;
|
|
17
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface EventResponse {
|
|
2
|
+
/** A URL to the JSON Schema for this object. */
|
|
3
|
+
$schema?: string | undefined;
|
|
4
|
+
/** Account that performed the action */
|
|
5
|
+
account_id: string;
|
|
6
|
+
/** Name of the account that performed the action */
|
|
7
|
+
account_name: string;
|
|
8
|
+
/** Action that was performed */
|
|
9
|
+
action: string;
|
|
10
|
+
changes?: unknown | undefined;
|
|
11
|
+
/** Timestamp when the event was recorded */
|
|
12
|
+
created: string;
|
|
13
|
+
/** Event ID */
|
|
14
|
+
id: string;
|
|
15
|
+
/** Organization that owns this event */
|
|
16
|
+
organization_id: string;
|
|
17
|
+
/** ID of the resource that was changed */
|
|
18
|
+
resource_id: string;
|
|
19
|
+
/** Type of the resource that was changed */
|
|
20
|
+
resource_type: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export interface HandoffResponse {
|
|
2
|
+
/** A URL to the JSON Schema for this object. */
|
|
3
|
+
$schema?: string | undefined;
|
|
4
|
+
/** Agent assigned to this handoff */
|
|
5
|
+
agent_id?: string | undefined;
|
|
6
|
+
/** Whether SLA has been breached */
|
|
7
|
+
breached: boolean;
|
|
8
|
+
/** Channel name */
|
|
9
|
+
channel_name: string;
|
|
10
|
+
/** Contact associated with the handoff */
|
|
11
|
+
contact_id: string;
|
|
12
|
+
/** Creation timestamp */
|
|
13
|
+
created: string;
|
|
14
|
+
/** Escalation level */
|
|
15
|
+
escalation_level: number;
|
|
16
|
+
/** First response timestamp */
|
|
17
|
+
first_response?: string | undefined;
|
|
18
|
+
/** Handoff ID */
|
|
19
|
+
id: string;
|
|
20
|
+
/** Last modification timestamp */
|
|
21
|
+
modified: string;
|
|
22
|
+
/** Optional notes */
|
|
23
|
+
notes?: string | undefined;
|
|
24
|
+
/** Organization that owns this handoff */
|
|
25
|
+
organization_id: string;
|
|
26
|
+
/** Phone number */
|
|
27
|
+
phone_number: string;
|
|
28
|
+
/** Pickup timestamp */
|
|
29
|
+
picked_up?: string | undefined;
|
|
30
|
+
/** Resume timestamp */
|
|
31
|
+
resumed?: string | undefined;
|
|
32
|
+
/** Account that resumed the handoff */
|
|
33
|
+
resumed_by?: string | undefined;
|
|
34
|
+
/** SLA resolution deadline */
|
|
35
|
+
sla_resolution_deadline?: string | undefined;
|
|
36
|
+
/** SLA response deadline */
|
|
37
|
+
sla_response_deadline?: string | undefined;
|
|
38
|
+
/** Handoff source */
|
|
39
|
+
source: string;
|
|
40
|
+
/** Handoff status */
|
|
41
|
+
status: string;
|
|
42
|
+
/** Team associated with this handoff */
|
|
43
|
+
team_id?: string | undefined;
|
|
44
|
+
/** Transfer timestamp */
|
|
45
|
+
transferred: string;
|
|
46
|
+
/** Account that transferred this handoff */
|
|
47
|
+
transferred_by?: string | undefined;
|
|
48
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface IdentityAccountResponse {
|
|
2
|
+
/** A URL to the JSON Schema for this object. */
|
|
3
|
+
$schema?: string | undefined;
|
|
4
|
+
/** Whether the account is active */
|
|
5
|
+
active: boolean;
|
|
6
|
+
/** Whether the account is available */
|
|
7
|
+
available: boolean;
|
|
8
|
+
/** Account configuration */
|
|
9
|
+
config?: unknown | undefined;
|
|
10
|
+
/** Creation timestamp */
|
|
11
|
+
created: string;
|
|
12
|
+
/** Optional display name */
|
|
13
|
+
display_name?: string | undefined;
|
|
14
|
+
/** Account email address */
|
|
15
|
+
email: string;
|
|
16
|
+
/** Account ID */
|
|
17
|
+
id: string;
|
|
18
|
+
/** Identity provider type */
|
|
19
|
+
idp_type?: string | undefined;
|
|
20
|
+
/** Last modification timestamp */
|
|
21
|
+
modified: string;
|
|
22
|
+
/** Organization that owns this account */
|
|
23
|
+
organization_id: string;
|
|
24
|
+
/** Optional role ID */
|
|
25
|
+
role_id?: string | undefined;
|
|
26
|
+
/** Whether the account is a super admin */
|
|
27
|
+
super_admin: boolean;
|
|
28
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export interface IntelligenceContextResponse {
|
|
2
|
+
/** A URL to the JSON Schema for this object. */
|
|
3
|
+
$schema?: string | undefined;
|
|
4
|
+
api_config?: unknown | undefined;
|
|
5
|
+
/** Optional channel this context is scoped to */
|
|
6
|
+
channel_name?: string | undefined;
|
|
7
|
+
/** Type of context source */
|
|
8
|
+
context_type: IntelligenceContextResponse.ContextType;
|
|
9
|
+
/** Creation timestamp */
|
|
10
|
+
created: string;
|
|
11
|
+
/** Account that created this context */
|
|
12
|
+
created_by?: string | undefined;
|
|
13
|
+
/** Context ID */
|
|
14
|
+
id: string;
|
|
15
|
+
/** Whether this context is active */
|
|
16
|
+
is_enabled: boolean;
|
|
17
|
+
/** Last modification timestamp */
|
|
18
|
+
modified: string;
|
|
19
|
+
/** Context name */
|
|
20
|
+
name: string;
|
|
21
|
+
/** Organization that owns this context */
|
|
22
|
+
organization_id: string;
|
|
23
|
+
/** Priority order for context selection */
|
|
24
|
+
priority: number;
|
|
25
|
+
/** Static text content (for static type) */
|
|
26
|
+
static_content?: string | undefined;
|
|
27
|
+
/** Keywords that trigger this context */
|
|
28
|
+
trigger_keywords: string[] | null;
|
|
29
|
+
/** Account that last updated this context */
|
|
30
|
+
updated_by?: string | undefined;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace IntelligenceContextResponse {
|
|
33
|
+
/** Type of context source */
|
|
34
|
+
const ContextType: {
|
|
35
|
+
readonly Static: "static";
|
|
36
|
+
readonly Api: "api";
|
|
37
|
+
};
|
|
38
|
+
type ContextType = (typeof ContextType)[keyof typeof ContextType];
|
|
39
|
+
}
|