@livechat/developer-studio-api 5.6.0-beta.generator.30 → 5.6.0-beta.generator.32

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/index.mjs CHANGED
@@ -199,7 +199,7 @@ import {
199
199
  updateWorkflowsClient,
200
200
  vercelClientInstance,
201
201
  workflowsClientInstance
202
- } from "./chunk-AVPZPHAU.mjs";
202
+ } from "./chunk-GND2D76F.mjs";
203
203
  export {
204
204
  ACCOUNT_ID_HEADER,
205
205
  API_NOTIFICATIONS,
@@ -1,4 +1,4 @@
1
- export { j as ApiPaginatedListQueryParams, m as ApiPaginatedResult, K as ApiPagination, L as AwaitTaskCallback, O as BigCommerceOauthCredential, w as CreateCredentialPayload, P as Credential, Q as CredentialCore, C as CredentialDto, R as CredentialInjection, V as CredentialStatus, X as CredentialType, Y as CredentialTypeDisplayNameMapping, _ as ExternalResourceConfig, $ as ExternalResourceDependency, E as ExternalResourceReference, a0 as Filter, a1 as FilterGroup, a2 as FilterOperator, a3 as FilterValue, a4 as Filters, F as FunctionDto, a5 as FunctionSchema, a6 as GitHubAppCredential, a7 as GitHubOauthCredential, a8 as HubSpotOauthCredential, u as IntrospectWorkflowTaskPayload, ao as MailchimpOauthCredential, ap as NeonOauthCredential, aq as NetlifyOauthCredential, ar as OAuthCredential, as as OauthCredentialGrantType, at as OpenaiCredential, au as PlanetScaleOauthCredential, av as PureHttpRequest, aw as SalesforceOauthCredential, az as ShopifyOauthCredential, aC as SlackOauthCredential, aD as SortBy, aE as SortOrder, aF as Sorting, aO as TRIGGER_REFERENCE_NAME, aQ as TextAuthCredential, aZ as TextOAuthCredential, x as UpdateCredentialPayload, t as UpsertWorkflowPayload, b6 as VercelOauthCredential, b7 as Workflow, b8 as WorkflowActionTask, b9 as WorkflowActionTaskCore, ba as WorkflowActionTaskErrorOutput, bb as WorkflowActionTaskInput, bc as WorkflowActionTaskInputParameters, bd as WorkflowActionTaskSuccessOutput, be as WorkflowAgentTrigger, bf as WorkflowAgentTriggerConfiguration, bg as WorkflowAgentTriggerCore, bh as WorkflowAgentTriggerInput, bi as WorkflowAgentTriggerSubType, bj as WorkflowAggregate, l as WorkflowApiCrmAuthorization, bk as WorkflowAwaitTask, bl as WorkflowAwaitTaskCore, bm as WorkflowAwaitTaskInput, bn as WorkflowBaseHttpTaskCore, bo as WorkflowBranch, bp as WorkflowBundle, bq as WorkflowConditionTask, br as WorkflowConditionTaskCondition, bs as WorkflowConditionTaskCore, bt as WorkflowConditionTaskFieldType, bu as WorkflowConditionTaskInput, bv as WorkflowConditionTaskLogic, bw as WorkflowConditionTaskOperator, bx as WorkflowConditionTaskOperatorGroup, by as WorkflowConditionTaskOperatorValueType, bz as WorkflowConstructArrayItem, bA as WorkflowConstructObjectField, bB as WorkflowConstructOutputType, bC as WorkflowConstructTask, bD as WorkflowConstructTaskCore, bE as WorkflowConstructTaskDefinitionInputParameters, bF as WorkflowConstructTaskInput, bG as WorkflowConstructTaskInputArray, bH as WorkflowConstructTaskInputObject, bI as WorkflowConvertTask, bJ as WorkflowConvertTaskCore, bK as WorkflowConvertTaskDefinitionInputParameters, bL as WorkflowConvertTaskInput, bM as WorkflowConvertTaskInputFilter, bN as WorkflowConvertTaskInputJoin, bO as WorkflowConvertTaskInputLookup, bP as WorkflowConvertTaskInputPickOmit, bQ as WorkflowConvertTaskInputPluck, bR as WorkflowConvertTaskInputReducer, bS as WorkflowConvertTaskInputReplace, bT as WorkflowConvertTaskInputSimple, bU as WorkflowConvertTaskInputSort, bV as WorkflowConvertTaskInputSplit, bW as WorkflowConvertTaskInputSum, bX as WorkflowConvertTaskTransformer, i as WorkflowCore, n as WorkflowCrmOrganization, k as WorkflowCrmOrganizationsOrderBy, o as WorkflowCrmWorkflowsOrderBy, bY as WorkflowCustomHttpTaskCore, bZ as WorkflowCustomTaskName, b_ as WorkflowDefinitionDto, b$ as WorkflowDoWhileBaseTask, c0 as WorkflowDoWhileBaseTaskCore, c1 as WorkflowDoWhileBaseTaskInput, c2 as WorkflowDoWhileTask, c3 as WorkflowDoWhileTaskCore, W as WorkflowDto, c4 as WorkflowElement, c5 as WorkflowElementCore, c6 as WorkflowElementIdentity, c7 as WorkflowElementRef, r as WorkflowExecution, c8 as WorkflowExecutionActionTaskData, c9 as WorkflowExecutionAwaitTaskData, ca as WorkflowExecutionChatContext, cb as WorkflowExecutionConditionTask, cc as WorkflowExecutionConstructTask, cd as WorkflowExecutionContext, ce as WorkflowExecutionConvertTask, cf as WorkflowExecutionData, cg as WorkflowExecutionDefinitionStatus, ch as WorkflowExecutionDoWhileIterationOutput, ci as WorkflowExecutionDoWhileTaskData, cj as WorkflowExecutionForkJoinTaskData, ck as WorkflowExecutionHttpTaskData, cl as WorkflowExecutionInlineBaseTask, cm as WorkflowExecutionInlineTaskData, cn as WorkflowExecutionJoinTaskData, q as WorkflowExecutionListItem, co as WorkflowExecutionNotifyAiAgentTaskData, cp as WorkflowExecutionReasoningTaskData, cq as WorkflowExecutionScriptTask, cr as WorkflowExecutionSimpleBaseTaskData, cs as WorkflowExecutionSimpleTaskData, ct as WorkflowExecutionStatus, cu as WorkflowExecutionSwitchBaseTask, cv as WorkflowExecutionSwitchCaseTask, cw as WorkflowExecutionSwitchTaskData, cx as WorkflowExecutionTaskBase, cy as WorkflowExecutionTaskData, cz as WorkflowExecutionTaskStatus, cA as WorkflowExecutionTerminateTaskData, cB as WorkflowExecutionTicketContext, cC as WorkflowExecutionTransformBaseTask, cD as WorkflowExecutionTransformTaskData, cE as WorkflowExecutionTriggerData, cF as WorkflowExecutionTriggerDataBase, cG as WorkflowExecutionType, cH as WorkflowExecutionWaitTaskData, cI as WorkflowForEachTask, cJ as WorkflowForEachTaskCore, cK as WorkflowForEachTaskInput, cL as WorkflowForkJoinTask, cM as WorkflowForkJoinTaskCore, cN as WorkflowForkJoinTaskInput, cO as WorkflowFunctionErrorResponseBody, cP as WorkflowGraph, cQ as WorkflowHttpRequest, cR as WorkflowHttpTask, cS as WorkflowHttpTaskCore, cT as WorkflowHttpTaskErrorResponseBody, cU as WorkflowHttpTaskFunctionErrorResponseBody, cV as WorkflowHttpTaskHeaders, cW as WorkflowHttpTaskInput, cX as WorkflowHttpTaskProviderErrorResponseBody, cY as WorkflowInlineBaseTask, cZ as WorkflowInlineBaseTaskCore, c_ as WorkflowInlineBaseTaskInput, c$ as WorkflowInlineTask, d0 as WorkflowInlineTaskCore, s as WorkflowIntrospection, d1 as WorkflowItemKind, d2 as WorkflowJoinTask, d3 as WorkflowJoinTaskCore, d4 as WorkflowJoinTaskInput, p as WorkflowListItemDto, d5 as WorkflowLoopTask, d6 as WorkflowLoopTaskCore, d7 as WorkflowLoopTaskInput, d8 as WorkflowManualTrigger, d9 as WorkflowManualTriggerCore, da as WorkflowManualTriggerParameter, db as WorkflowManualTriggerSubType, dc as WorkflowManualTriggerSubTypeName, dd as WorkflowNode, de as WorkflowNotifyAiAgentTask, df as WorkflowNotifyAiAgentTaskCore, dg as WorkflowNotifyAiAgentTaskInput, dh as WorkflowNotifyAiAgentTaskObjectiveInput, di as WorkflowNotifyAiAgentTaskStrictInput, dj as WorkflowOneTimeTrigger, dk as WorkflowOneTimeTriggerCore, dl as WorkflowOneTimeTriggerInput, dm as WorkflowParentRef, dn as WorkflowPlan, dp as WorkflowPlanTask, dq as WorkflowPlanTrigger, dr as WorkflowReasoningOption, ds as WorkflowReasoningOptionAgent, dt as WorkflowReasoningOptionCustomer, du as WorkflowReasoningTask, dv as WorkflowReasoningTaskCore, dw as WorkflowReasoningTaskInput, dx as WorkflowRecurringTrigger, dy as WorkflowRecurringTriggerCore, dz as WorkflowRecurringTriggerInput, dA as WorkflowScriptTask, dB as WorkflowScriptTaskCore, dC as WorkflowScriptTaskInput, dD as WorkflowSimpleBaseTask, dE as WorkflowSimpleBaseTaskCore, dF as WorkflowSimpleTask, dG as WorkflowSimpleTaskCore, dH as WorkflowSwitchBaseTask, dI as WorkflowSwitchBaseTaskCore, dJ as WorkflowSwitchCaseTask, dK as WorkflowSwitchCaseTaskCore, dL as WorkflowSwitchCaseTaskInput, dM as WorkflowSwitchTask, dN as WorkflowSwitchTaskCore, dO as WorkflowSwitchTaskInput, dP as WorkflowTask, dQ as WorkflowTaskBase, dR as WorkflowTaskCore, dS as WorkflowTaskIdentity, v as WorkflowTaskIntrospectResponse, dT as WorkflowTaskIntrospection, dU as WorkflowTaskOf, dV as WorkflowTaskType, B as WorkflowTemplate, dW as WorkflowTemplateCategory, z as WorkflowTemplateListEntry, dX as WorkflowTemplateMetadataItem, y as WorkflowTemplateOrderBy, dY as WorkflowTerminateTask, dZ as WorkflowTerminateTaskCore, d_ as WorkflowTerminateTaskInput, d$ as WorkflowTransformBaseTask, e0 as WorkflowTransformBaseTaskCore, e1 as WorkflowTransformBaseTaskInput, e2 as WorkflowTransformTask, e3 as WorkflowTransformTaskCore, e4 as WorkflowTrigger, e5 as WorkflowTriggerBase, e6 as WorkflowTriggerCore, e7 as WorkflowTriggerDto, e8 as WorkflowTriggerIdentity, e9 as WorkflowTriggerOf, ea as WorkflowTriggerType, eb as WorkflowWaitTask, ec as WorkflowWaitTaskCore, ed as WorkflowWaitTaskInput, ee as WorkflowWebhook, ef as WorkflowWebhookInput, eg as WorkflowWebhookManualTrigger, eh as WorkflowWebhookManualTriggerCore, ei as WorkflowWebhookTrigger, ej as WorkflowWebhookTriggerCore, ek as WorkflowWebhookTriggerPure, eo as getWorkflowApiCrmConfig, eu as isFilter, ev as isFilterGroup, ew as isWorkflowBaseHttpTaskCore, ey as serializeFilters } from './events-BD4wWUnu.mjs';
1
+ export { j as ApiPaginatedListQueryParams, m as ApiPaginatedResult, J as ApiPagination, K as AwaitTaskCallback, N as BigCommerceOauthCredential, w as CreateCredentialPayload, O as Credential, P as CredentialCore, C as CredentialDto, Q as CredentialInjection, R as CredentialStatus, V as CredentialType, X as CredentialTypeDisplayNameMapping, Z as Filter, _ as FilterGroup, $ as FilterOperator, a0 as FilterValue, a1 as Filters, F as FunctionDto, a2 as FunctionSchema, a3 as GitHubAppCredential, a4 as GitHubOauthCredential, a5 as HubSpotOauthCredential, u as IntrospectWorkflowTaskPayload, al as MailchimpOauthCredential, am as NeonOauthCredential, an as NetlifyOauthCredential, ao as OAuthCredential, ap as OauthCredentialGrantType, aq as OpenaiCredential, ar as PlanetScaleOauthCredential, as as PureHttpRequest, at as SalesforceOauthCredential, aw as ShopifyOauthCredential, az as SlackOauthCredential, aA as SortBy, aB as SortOrder, aC as Sorting, aL as TRIGGER_REFERENCE_NAME, aN as TextAuthCredential, aW as TextOAuthCredential, x as UpdateCredentialPayload, t as UpsertWorkflowPayload, b3 as VercelOauthCredential, b4 as Workflow, b5 as WorkflowActionTask, b6 as WorkflowActionTaskCore, b7 as WorkflowActionTaskErrorOutput, b8 as WorkflowActionTaskInput, b9 as WorkflowActionTaskInputParameters, ba as WorkflowActionTaskSuccessOutput, bb as WorkflowAgentTrigger, bc as WorkflowAgentTriggerConfiguration, bd as WorkflowAgentTriggerCore, be as WorkflowAgentTriggerInput, bf as WorkflowAgentTriggerSubType, bg as WorkflowAggregate, l as WorkflowApiCrmAuthorization, bh as WorkflowAwaitTask, bi as WorkflowAwaitTaskCore, bj as WorkflowAwaitTaskInput, bk as WorkflowBaseHttpTaskCore, bl as WorkflowBranch, bm as WorkflowBundle, bn as WorkflowConditionTask, bo as WorkflowConditionTaskCondition, bp as WorkflowConditionTaskCore, bq as WorkflowConditionTaskFieldType, br as WorkflowConditionTaskInput, bs as WorkflowConditionTaskLogic, bt as WorkflowConditionTaskOperator, bu as WorkflowConditionTaskOperatorGroup, bv as WorkflowConditionTaskOperatorValueType, bw as WorkflowConstructArrayItem, bx as WorkflowConstructObjectField, by as WorkflowConstructOutputType, bz as WorkflowConstructTask, bA as WorkflowConstructTaskCore, bB as WorkflowConstructTaskDefinitionInputParameters, bC as WorkflowConstructTaskInput, bD as WorkflowConstructTaskInputArray, bE as WorkflowConstructTaskInputObject, bF as WorkflowConvertTask, bG as WorkflowConvertTaskCore, bH as WorkflowConvertTaskDefinitionInputParameters, bI as WorkflowConvertTaskInput, bJ as WorkflowConvertTaskInputFilter, bK as WorkflowConvertTaskInputJoin, bL as WorkflowConvertTaskInputLookup, bM as WorkflowConvertTaskInputPickOmit, bN as WorkflowConvertTaskInputPluck, bO as WorkflowConvertTaskInputReducer, bP as WorkflowConvertTaskInputReplace, bQ as WorkflowConvertTaskInputSimple, bR as WorkflowConvertTaskInputSort, bS as WorkflowConvertTaskInputSplit, bT as WorkflowConvertTaskInputSum, bU as WorkflowConvertTaskTransformer, i as WorkflowCore, n as WorkflowCrmOrganization, k as WorkflowCrmOrganizationsOrderBy, o as WorkflowCrmWorkflowsOrderBy, bV as WorkflowCustomHttpTaskCore, bW as WorkflowCustomTaskName, bX as WorkflowDefinitionDto, bY as WorkflowDoWhileBaseTask, bZ as WorkflowDoWhileBaseTaskCore, b_ as WorkflowDoWhileBaseTaskInput, b$ as WorkflowDoWhileTask, c0 as WorkflowDoWhileTaskCore, W as WorkflowDto, c1 as WorkflowElement, c2 as WorkflowElementCore, c3 as WorkflowElementIdentity, c4 as WorkflowElementRef, r as WorkflowExecution, c5 as WorkflowExecutionActionTaskData, c6 as WorkflowExecutionAwaitTaskData, c7 as WorkflowExecutionChatContext, c8 as WorkflowExecutionConditionTask, c9 as WorkflowExecutionConstructTask, ca as WorkflowExecutionContext, cb as WorkflowExecutionConvertTask, cc as WorkflowExecutionData, cd as WorkflowExecutionDefinitionStatus, ce as WorkflowExecutionDoWhileIterationOutput, cf as WorkflowExecutionDoWhileTaskData, cg as WorkflowExecutionForkJoinTaskData, ch as WorkflowExecutionHttpTaskData, ci as WorkflowExecutionInlineBaseTask, cj as WorkflowExecutionInlineTaskData, ck as WorkflowExecutionJoinTaskData, q as WorkflowExecutionListItem, cl as WorkflowExecutionNotifyAiAgentTaskData, cm as WorkflowExecutionReasoningTaskData, cn as WorkflowExecutionScriptTask, co as WorkflowExecutionSimpleBaseTaskData, cp as WorkflowExecutionSimpleTaskData, cq as WorkflowExecutionStatus, cr as WorkflowExecutionSwitchBaseTask, cs as WorkflowExecutionSwitchCaseTask, ct as WorkflowExecutionSwitchTaskData, cu as WorkflowExecutionTaskBase, cv as WorkflowExecutionTaskData, cw as WorkflowExecutionTaskStatus, cx as WorkflowExecutionTerminateTaskData, cy as WorkflowExecutionTicketContext, cz as WorkflowExecutionTransformBaseTask, cA as WorkflowExecutionTransformTaskData, cB as WorkflowExecutionTriggerData, cC as WorkflowExecutionTriggerDataBase, cD as WorkflowExecutionType, cE as WorkflowExecutionWaitTaskData, cF as WorkflowForEachTask, cG as WorkflowForEachTaskCore, cH as WorkflowForEachTaskInput, cI as WorkflowForkJoinTask, cJ as WorkflowForkJoinTaskCore, cK as WorkflowForkJoinTaskInput, cL as WorkflowFunctionErrorResponseBody, cM as WorkflowGraph, cN as WorkflowHttpRequest, cO as WorkflowHttpTask, cP as WorkflowHttpTaskCore, cQ as WorkflowHttpTaskErrorResponseBody, cR as WorkflowHttpTaskFunctionErrorResponseBody, cS as WorkflowHttpTaskHeaders, cT as WorkflowHttpTaskInput, cU as WorkflowHttpTaskProviderErrorResponseBody, cV as WorkflowInlineBaseTask, cW as WorkflowInlineBaseTaskCore, cX as WorkflowInlineBaseTaskInput, cY as WorkflowInlineTask, cZ as WorkflowInlineTaskCore, s as WorkflowIntrospection, c_ as WorkflowItemKind, c$ as WorkflowJoinTask, d0 as WorkflowJoinTaskCore, d1 as WorkflowJoinTaskInput, p as WorkflowListItemDto, d2 as WorkflowLoopTask, d3 as WorkflowLoopTaskCore, d4 as WorkflowLoopTaskInput, d5 as WorkflowManualTrigger, d6 as WorkflowManualTriggerCore, d7 as WorkflowManualTriggerParameter, d8 as WorkflowManualTriggerSubType, d9 as WorkflowManualTriggerSubTypeName, da as WorkflowNode, db as WorkflowNotifyAiAgentTask, dc as WorkflowNotifyAiAgentTaskCore, dd as WorkflowNotifyAiAgentTaskInput, de as WorkflowNotifyAiAgentTaskObjectiveInput, df as WorkflowNotifyAiAgentTaskStrictInput, dg as WorkflowOneTimeTrigger, dh as WorkflowOneTimeTriggerCore, di as WorkflowOneTimeTriggerInput, dj as WorkflowParentRef, dk as WorkflowPlan, dl as WorkflowPlanTask, dm as WorkflowPlanTrigger, dn as WorkflowReasoningOption, dp as WorkflowReasoningOptionAgent, dq as WorkflowReasoningOptionCustomer, dr as WorkflowReasoningTask, ds as WorkflowReasoningTaskCore, dt as WorkflowReasoningTaskInput, du as WorkflowRecurringTrigger, dv as WorkflowRecurringTriggerCore, dw as WorkflowRecurringTriggerInput, dx as WorkflowScriptTask, dy as WorkflowScriptTaskCore, dz as WorkflowScriptTaskInput, dA as WorkflowSimpleBaseTask, dB as WorkflowSimpleBaseTaskCore, dC as WorkflowSimpleTask, dD as WorkflowSimpleTaskCore, dE as WorkflowSwitchBaseTask, dF as WorkflowSwitchBaseTaskCore, dG as WorkflowSwitchCaseTask, dH as WorkflowSwitchCaseTaskCore, dI as WorkflowSwitchCaseTaskInput, dJ as WorkflowSwitchTask, dK as WorkflowSwitchTaskCore, dL as WorkflowSwitchTaskInput, dM as WorkflowTask, dN as WorkflowTaskBase, dO as WorkflowTaskCore, dP as WorkflowTaskIdentity, v as WorkflowTaskIntrospectResponse, dQ as WorkflowTaskIntrospection, dR as WorkflowTaskOf, dS as WorkflowTaskType, B as WorkflowTemplate, dT as WorkflowTemplateCategory, z as WorkflowTemplateListEntry, dU as WorkflowTemplateMetadataItem, y as WorkflowTemplateOrderBy, dV as WorkflowTerminateTask, dW as WorkflowTerminateTaskCore, dX as WorkflowTerminateTaskInput, dY as WorkflowTransformBaseTask, dZ as WorkflowTransformBaseTaskCore, d_ as WorkflowTransformBaseTaskInput, d$ as WorkflowTransformTask, e0 as WorkflowTransformTaskCore, e1 as WorkflowTrigger, e2 as WorkflowTriggerBase, e3 as WorkflowTriggerCore, e4 as WorkflowTriggerDto, e5 as WorkflowTriggerIdentity, e6 as WorkflowTriggerOf, e7 as WorkflowTriggerType, e8 as WorkflowWaitTask, e9 as WorkflowWaitTaskCore, ea as WorkflowWaitTaskInput, eb as WorkflowWebhook, ec as WorkflowWebhookInput, ed as WorkflowWebhookManualTrigger, ee as WorkflowWebhookManualTriggerCore, ef as WorkflowWebhookTrigger, eg as WorkflowWebhookTriggerCore, eh as WorkflowWebhookTriggerPure, el as getWorkflowApiCrmConfig, er as isFilter, es as isFilterGroup, et as isWorkflowBaseHttpTaskCore, ev as serializeFilters } from './events-CQtoMVf0.mjs';
2
2
  import 'utils';
3
3
  import 'json-schema';
4
4
  import 'zod';
@@ -1,4 +1,4 @@
1
- export { j as ApiPaginatedListQueryParams, m as ApiPaginatedResult, K as ApiPagination, L as AwaitTaskCallback, O as BigCommerceOauthCredential, w as CreateCredentialPayload, P as Credential, Q as CredentialCore, C as CredentialDto, R as CredentialInjection, V as CredentialStatus, X as CredentialType, Y as CredentialTypeDisplayNameMapping, _ as ExternalResourceConfig, $ as ExternalResourceDependency, E as ExternalResourceReference, a0 as Filter, a1 as FilterGroup, a2 as FilterOperator, a3 as FilterValue, a4 as Filters, F as FunctionDto, a5 as FunctionSchema, a6 as GitHubAppCredential, a7 as GitHubOauthCredential, a8 as HubSpotOauthCredential, u as IntrospectWorkflowTaskPayload, ao as MailchimpOauthCredential, ap as NeonOauthCredential, aq as NetlifyOauthCredential, ar as OAuthCredential, as as OauthCredentialGrantType, at as OpenaiCredential, au as PlanetScaleOauthCredential, av as PureHttpRequest, aw as SalesforceOauthCredential, az as ShopifyOauthCredential, aC as SlackOauthCredential, aD as SortBy, aE as SortOrder, aF as Sorting, aO as TRIGGER_REFERENCE_NAME, aQ as TextAuthCredential, aZ as TextOAuthCredential, x as UpdateCredentialPayload, t as UpsertWorkflowPayload, b6 as VercelOauthCredential, b7 as Workflow, b8 as WorkflowActionTask, b9 as WorkflowActionTaskCore, ba as WorkflowActionTaskErrorOutput, bb as WorkflowActionTaskInput, bc as WorkflowActionTaskInputParameters, bd as WorkflowActionTaskSuccessOutput, be as WorkflowAgentTrigger, bf as WorkflowAgentTriggerConfiguration, bg as WorkflowAgentTriggerCore, bh as WorkflowAgentTriggerInput, bi as WorkflowAgentTriggerSubType, bj as WorkflowAggregate, l as WorkflowApiCrmAuthorization, bk as WorkflowAwaitTask, bl as WorkflowAwaitTaskCore, bm as WorkflowAwaitTaskInput, bn as WorkflowBaseHttpTaskCore, bo as WorkflowBranch, bp as WorkflowBundle, bq as WorkflowConditionTask, br as WorkflowConditionTaskCondition, bs as WorkflowConditionTaskCore, bt as WorkflowConditionTaskFieldType, bu as WorkflowConditionTaskInput, bv as WorkflowConditionTaskLogic, bw as WorkflowConditionTaskOperator, bx as WorkflowConditionTaskOperatorGroup, by as WorkflowConditionTaskOperatorValueType, bz as WorkflowConstructArrayItem, bA as WorkflowConstructObjectField, bB as WorkflowConstructOutputType, bC as WorkflowConstructTask, bD as WorkflowConstructTaskCore, bE as WorkflowConstructTaskDefinitionInputParameters, bF as WorkflowConstructTaskInput, bG as WorkflowConstructTaskInputArray, bH as WorkflowConstructTaskInputObject, bI as WorkflowConvertTask, bJ as WorkflowConvertTaskCore, bK as WorkflowConvertTaskDefinitionInputParameters, bL as WorkflowConvertTaskInput, bM as WorkflowConvertTaskInputFilter, bN as WorkflowConvertTaskInputJoin, bO as WorkflowConvertTaskInputLookup, bP as WorkflowConvertTaskInputPickOmit, bQ as WorkflowConvertTaskInputPluck, bR as WorkflowConvertTaskInputReducer, bS as WorkflowConvertTaskInputReplace, bT as WorkflowConvertTaskInputSimple, bU as WorkflowConvertTaskInputSort, bV as WorkflowConvertTaskInputSplit, bW as WorkflowConvertTaskInputSum, bX as WorkflowConvertTaskTransformer, i as WorkflowCore, n as WorkflowCrmOrganization, k as WorkflowCrmOrganizationsOrderBy, o as WorkflowCrmWorkflowsOrderBy, bY as WorkflowCustomHttpTaskCore, bZ as WorkflowCustomTaskName, b_ as WorkflowDefinitionDto, b$ as WorkflowDoWhileBaseTask, c0 as WorkflowDoWhileBaseTaskCore, c1 as WorkflowDoWhileBaseTaskInput, c2 as WorkflowDoWhileTask, c3 as WorkflowDoWhileTaskCore, W as WorkflowDto, c4 as WorkflowElement, c5 as WorkflowElementCore, c6 as WorkflowElementIdentity, c7 as WorkflowElementRef, r as WorkflowExecution, c8 as WorkflowExecutionActionTaskData, c9 as WorkflowExecutionAwaitTaskData, ca as WorkflowExecutionChatContext, cb as WorkflowExecutionConditionTask, cc as WorkflowExecutionConstructTask, cd as WorkflowExecutionContext, ce as WorkflowExecutionConvertTask, cf as WorkflowExecutionData, cg as WorkflowExecutionDefinitionStatus, ch as WorkflowExecutionDoWhileIterationOutput, ci as WorkflowExecutionDoWhileTaskData, cj as WorkflowExecutionForkJoinTaskData, ck as WorkflowExecutionHttpTaskData, cl as WorkflowExecutionInlineBaseTask, cm as WorkflowExecutionInlineTaskData, cn as WorkflowExecutionJoinTaskData, q as WorkflowExecutionListItem, co as WorkflowExecutionNotifyAiAgentTaskData, cp as WorkflowExecutionReasoningTaskData, cq as WorkflowExecutionScriptTask, cr as WorkflowExecutionSimpleBaseTaskData, cs as WorkflowExecutionSimpleTaskData, ct as WorkflowExecutionStatus, cu as WorkflowExecutionSwitchBaseTask, cv as WorkflowExecutionSwitchCaseTask, cw as WorkflowExecutionSwitchTaskData, cx as WorkflowExecutionTaskBase, cy as WorkflowExecutionTaskData, cz as WorkflowExecutionTaskStatus, cA as WorkflowExecutionTerminateTaskData, cB as WorkflowExecutionTicketContext, cC as WorkflowExecutionTransformBaseTask, cD as WorkflowExecutionTransformTaskData, cE as WorkflowExecutionTriggerData, cF as WorkflowExecutionTriggerDataBase, cG as WorkflowExecutionType, cH as WorkflowExecutionWaitTaskData, cI as WorkflowForEachTask, cJ as WorkflowForEachTaskCore, cK as WorkflowForEachTaskInput, cL as WorkflowForkJoinTask, cM as WorkflowForkJoinTaskCore, cN as WorkflowForkJoinTaskInput, cO as WorkflowFunctionErrorResponseBody, cP as WorkflowGraph, cQ as WorkflowHttpRequest, cR as WorkflowHttpTask, cS as WorkflowHttpTaskCore, cT as WorkflowHttpTaskErrorResponseBody, cU as WorkflowHttpTaskFunctionErrorResponseBody, cV as WorkflowHttpTaskHeaders, cW as WorkflowHttpTaskInput, cX as WorkflowHttpTaskProviderErrorResponseBody, cY as WorkflowInlineBaseTask, cZ as WorkflowInlineBaseTaskCore, c_ as WorkflowInlineBaseTaskInput, c$ as WorkflowInlineTask, d0 as WorkflowInlineTaskCore, s as WorkflowIntrospection, d1 as WorkflowItemKind, d2 as WorkflowJoinTask, d3 as WorkflowJoinTaskCore, d4 as WorkflowJoinTaskInput, p as WorkflowListItemDto, d5 as WorkflowLoopTask, d6 as WorkflowLoopTaskCore, d7 as WorkflowLoopTaskInput, d8 as WorkflowManualTrigger, d9 as WorkflowManualTriggerCore, da as WorkflowManualTriggerParameter, db as WorkflowManualTriggerSubType, dc as WorkflowManualTriggerSubTypeName, dd as WorkflowNode, de as WorkflowNotifyAiAgentTask, df as WorkflowNotifyAiAgentTaskCore, dg as WorkflowNotifyAiAgentTaskInput, dh as WorkflowNotifyAiAgentTaskObjectiveInput, di as WorkflowNotifyAiAgentTaskStrictInput, dj as WorkflowOneTimeTrigger, dk as WorkflowOneTimeTriggerCore, dl as WorkflowOneTimeTriggerInput, dm as WorkflowParentRef, dn as WorkflowPlan, dp as WorkflowPlanTask, dq as WorkflowPlanTrigger, dr as WorkflowReasoningOption, ds as WorkflowReasoningOptionAgent, dt as WorkflowReasoningOptionCustomer, du as WorkflowReasoningTask, dv as WorkflowReasoningTaskCore, dw as WorkflowReasoningTaskInput, dx as WorkflowRecurringTrigger, dy as WorkflowRecurringTriggerCore, dz as WorkflowRecurringTriggerInput, dA as WorkflowScriptTask, dB as WorkflowScriptTaskCore, dC as WorkflowScriptTaskInput, dD as WorkflowSimpleBaseTask, dE as WorkflowSimpleBaseTaskCore, dF as WorkflowSimpleTask, dG as WorkflowSimpleTaskCore, dH as WorkflowSwitchBaseTask, dI as WorkflowSwitchBaseTaskCore, dJ as WorkflowSwitchCaseTask, dK as WorkflowSwitchCaseTaskCore, dL as WorkflowSwitchCaseTaskInput, dM as WorkflowSwitchTask, dN as WorkflowSwitchTaskCore, dO as WorkflowSwitchTaskInput, dP as WorkflowTask, dQ as WorkflowTaskBase, dR as WorkflowTaskCore, dS as WorkflowTaskIdentity, v as WorkflowTaskIntrospectResponse, dT as WorkflowTaskIntrospection, dU as WorkflowTaskOf, dV as WorkflowTaskType, B as WorkflowTemplate, dW as WorkflowTemplateCategory, z as WorkflowTemplateListEntry, dX as WorkflowTemplateMetadataItem, y as WorkflowTemplateOrderBy, dY as WorkflowTerminateTask, dZ as WorkflowTerminateTaskCore, d_ as WorkflowTerminateTaskInput, d$ as WorkflowTransformBaseTask, e0 as WorkflowTransformBaseTaskCore, e1 as WorkflowTransformBaseTaskInput, e2 as WorkflowTransformTask, e3 as WorkflowTransformTaskCore, e4 as WorkflowTrigger, e5 as WorkflowTriggerBase, e6 as WorkflowTriggerCore, e7 as WorkflowTriggerDto, e8 as WorkflowTriggerIdentity, e9 as WorkflowTriggerOf, ea as WorkflowTriggerType, eb as WorkflowWaitTask, ec as WorkflowWaitTaskCore, ed as WorkflowWaitTaskInput, ee as WorkflowWebhook, ef as WorkflowWebhookInput, eg as WorkflowWebhookManualTrigger, eh as WorkflowWebhookManualTriggerCore, ei as WorkflowWebhookTrigger, ej as WorkflowWebhookTriggerCore, ek as WorkflowWebhookTriggerPure, eo as getWorkflowApiCrmConfig, eu as isFilter, ev as isFilterGroup, ew as isWorkflowBaseHttpTaskCore, ey as serializeFilters } from './events-BD4wWUnu.js';
1
+ export { j as ApiPaginatedListQueryParams, m as ApiPaginatedResult, J as ApiPagination, K as AwaitTaskCallback, N as BigCommerceOauthCredential, w as CreateCredentialPayload, O as Credential, P as CredentialCore, C as CredentialDto, Q as CredentialInjection, R as CredentialStatus, V as CredentialType, X as CredentialTypeDisplayNameMapping, Z as Filter, _ as FilterGroup, $ as FilterOperator, a0 as FilterValue, a1 as Filters, F as FunctionDto, a2 as FunctionSchema, a3 as GitHubAppCredential, a4 as GitHubOauthCredential, a5 as HubSpotOauthCredential, u as IntrospectWorkflowTaskPayload, al as MailchimpOauthCredential, am as NeonOauthCredential, an as NetlifyOauthCredential, ao as OAuthCredential, ap as OauthCredentialGrantType, aq as OpenaiCredential, ar as PlanetScaleOauthCredential, as as PureHttpRequest, at as SalesforceOauthCredential, aw as ShopifyOauthCredential, az as SlackOauthCredential, aA as SortBy, aB as SortOrder, aC as Sorting, aL as TRIGGER_REFERENCE_NAME, aN as TextAuthCredential, aW as TextOAuthCredential, x as UpdateCredentialPayload, t as UpsertWorkflowPayload, b3 as VercelOauthCredential, b4 as Workflow, b5 as WorkflowActionTask, b6 as WorkflowActionTaskCore, b7 as WorkflowActionTaskErrorOutput, b8 as WorkflowActionTaskInput, b9 as WorkflowActionTaskInputParameters, ba as WorkflowActionTaskSuccessOutput, bb as WorkflowAgentTrigger, bc as WorkflowAgentTriggerConfiguration, bd as WorkflowAgentTriggerCore, be as WorkflowAgentTriggerInput, bf as WorkflowAgentTriggerSubType, bg as WorkflowAggregate, l as WorkflowApiCrmAuthorization, bh as WorkflowAwaitTask, bi as WorkflowAwaitTaskCore, bj as WorkflowAwaitTaskInput, bk as WorkflowBaseHttpTaskCore, bl as WorkflowBranch, bm as WorkflowBundle, bn as WorkflowConditionTask, bo as WorkflowConditionTaskCondition, bp as WorkflowConditionTaskCore, bq as WorkflowConditionTaskFieldType, br as WorkflowConditionTaskInput, bs as WorkflowConditionTaskLogic, bt as WorkflowConditionTaskOperator, bu as WorkflowConditionTaskOperatorGroup, bv as WorkflowConditionTaskOperatorValueType, bw as WorkflowConstructArrayItem, bx as WorkflowConstructObjectField, by as WorkflowConstructOutputType, bz as WorkflowConstructTask, bA as WorkflowConstructTaskCore, bB as WorkflowConstructTaskDefinitionInputParameters, bC as WorkflowConstructTaskInput, bD as WorkflowConstructTaskInputArray, bE as WorkflowConstructTaskInputObject, bF as WorkflowConvertTask, bG as WorkflowConvertTaskCore, bH as WorkflowConvertTaskDefinitionInputParameters, bI as WorkflowConvertTaskInput, bJ as WorkflowConvertTaskInputFilter, bK as WorkflowConvertTaskInputJoin, bL as WorkflowConvertTaskInputLookup, bM as WorkflowConvertTaskInputPickOmit, bN as WorkflowConvertTaskInputPluck, bO as WorkflowConvertTaskInputReducer, bP as WorkflowConvertTaskInputReplace, bQ as WorkflowConvertTaskInputSimple, bR as WorkflowConvertTaskInputSort, bS as WorkflowConvertTaskInputSplit, bT as WorkflowConvertTaskInputSum, bU as WorkflowConvertTaskTransformer, i as WorkflowCore, n as WorkflowCrmOrganization, k as WorkflowCrmOrganizationsOrderBy, o as WorkflowCrmWorkflowsOrderBy, bV as WorkflowCustomHttpTaskCore, bW as WorkflowCustomTaskName, bX as WorkflowDefinitionDto, bY as WorkflowDoWhileBaseTask, bZ as WorkflowDoWhileBaseTaskCore, b_ as WorkflowDoWhileBaseTaskInput, b$ as WorkflowDoWhileTask, c0 as WorkflowDoWhileTaskCore, W as WorkflowDto, c1 as WorkflowElement, c2 as WorkflowElementCore, c3 as WorkflowElementIdentity, c4 as WorkflowElementRef, r as WorkflowExecution, c5 as WorkflowExecutionActionTaskData, c6 as WorkflowExecutionAwaitTaskData, c7 as WorkflowExecutionChatContext, c8 as WorkflowExecutionConditionTask, c9 as WorkflowExecutionConstructTask, ca as WorkflowExecutionContext, cb as WorkflowExecutionConvertTask, cc as WorkflowExecutionData, cd as WorkflowExecutionDefinitionStatus, ce as WorkflowExecutionDoWhileIterationOutput, cf as WorkflowExecutionDoWhileTaskData, cg as WorkflowExecutionForkJoinTaskData, ch as WorkflowExecutionHttpTaskData, ci as WorkflowExecutionInlineBaseTask, cj as WorkflowExecutionInlineTaskData, ck as WorkflowExecutionJoinTaskData, q as WorkflowExecutionListItem, cl as WorkflowExecutionNotifyAiAgentTaskData, cm as WorkflowExecutionReasoningTaskData, cn as WorkflowExecutionScriptTask, co as WorkflowExecutionSimpleBaseTaskData, cp as WorkflowExecutionSimpleTaskData, cq as WorkflowExecutionStatus, cr as WorkflowExecutionSwitchBaseTask, cs as WorkflowExecutionSwitchCaseTask, ct as WorkflowExecutionSwitchTaskData, cu as WorkflowExecutionTaskBase, cv as WorkflowExecutionTaskData, cw as WorkflowExecutionTaskStatus, cx as WorkflowExecutionTerminateTaskData, cy as WorkflowExecutionTicketContext, cz as WorkflowExecutionTransformBaseTask, cA as WorkflowExecutionTransformTaskData, cB as WorkflowExecutionTriggerData, cC as WorkflowExecutionTriggerDataBase, cD as WorkflowExecutionType, cE as WorkflowExecutionWaitTaskData, cF as WorkflowForEachTask, cG as WorkflowForEachTaskCore, cH as WorkflowForEachTaskInput, cI as WorkflowForkJoinTask, cJ as WorkflowForkJoinTaskCore, cK as WorkflowForkJoinTaskInput, cL as WorkflowFunctionErrorResponseBody, cM as WorkflowGraph, cN as WorkflowHttpRequest, cO as WorkflowHttpTask, cP as WorkflowHttpTaskCore, cQ as WorkflowHttpTaskErrorResponseBody, cR as WorkflowHttpTaskFunctionErrorResponseBody, cS as WorkflowHttpTaskHeaders, cT as WorkflowHttpTaskInput, cU as WorkflowHttpTaskProviderErrorResponseBody, cV as WorkflowInlineBaseTask, cW as WorkflowInlineBaseTaskCore, cX as WorkflowInlineBaseTaskInput, cY as WorkflowInlineTask, cZ as WorkflowInlineTaskCore, s as WorkflowIntrospection, c_ as WorkflowItemKind, c$ as WorkflowJoinTask, d0 as WorkflowJoinTaskCore, d1 as WorkflowJoinTaskInput, p as WorkflowListItemDto, d2 as WorkflowLoopTask, d3 as WorkflowLoopTaskCore, d4 as WorkflowLoopTaskInput, d5 as WorkflowManualTrigger, d6 as WorkflowManualTriggerCore, d7 as WorkflowManualTriggerParameter, d8 as WorkflowManualTriggerSubType, d9 as WorkflowManualTriggerSubTypeName, da as WorkflowNode, db as WorkflowNotifyAiAgentTask, dc as WorkflowNotifyAiAgentTaskCore, dd as WorkflowNotifyAiAgentTaskInput, de as WorkflowNotifyAiAgentTaskObjectiveInput, df as WorkflowNotifyAiAgentTaskStrictInput, dg as WorkflowOneTimeTrigger, dh as WorkflowOneTimeTriggerCore, di as WorkflowOneTimeTriggerInput, dj as WorkflowParentRef, dk as WorkflowPlan, dl as WorkflowPlanTask, dm as WorkflowPlanTrigger, dn as WorkflowReasoningOption, dp as WorkflowReasoningOptionAgent, dq as WorkflowReasoningOptionCustomer, dr as WorkflowReasoningTask, ds as WorkflowReasoningTaskCore, dt as WorkflowReasoningTaskInput, du as WorkflowRecurringTrigger, dv as WorkflowRecurringTriggerCore, dw as WorkflowRecurringTriggerInput, dx as WorkflowScriptTask, dy as WorkflowScriptTaskCore, dz as WorkflowScriptTaskInput, dA as WorkflowSimpleBaseTask, dB as WorkflowSimpleBaseTaskCore, dC as WorkflowSimpleTask, dD as WorkflowSimpleTaskCore, dE as WorkflowSwitchBaseTask, dF as WorkflowSwitchBaseTaskCore, dG as WorkflowSwitchCaseTask, dH as WorkflowSwitchCaseTaskCore, dI as WorkflowSwitchCaseTaskInput, dJ as WorkflowSwitchTask, dK as WorkflowSwitchTaskCore, dL as WorkflowSwitchTaskInput, dM as WorkflowTask, dN as WorkflowTaskBase, dO as WorkflowTaskCore, dP as WorkflowTaskIdentity, v as WorkflowTaskIntrospectResponse, dQ as WorkflowTaskIntrospection, dR as WorkflowTaskOf, dS as WorkflowTaskType, B as WorkflowTemplate, dT as WorkflowTemplateCategory, z as WorkflowTemplateListEntry, dU as WorkflowTemplateMetadataItem, y as WorkflowTemplateOrderBy, dV as WorkflowTerminateTask, dW as WorkflowTerminateTaskCore, dX as WorkflowTerminateTaskInput, dY as WorkflowTransformBaseTask, dZ as WorkflowTransformBaseTaskCore, d_ as WorkflowTransformBaseTaskInput, d$ as WorkflowTransformTask, e0 as WorkflowTransformTaskCore, e1 as WorkflowTrigger, e2 as WorkflowTriggerBase, e3 as WorkflowTriggerCore, e4 as WorkflowTriggerDto, e5 as WorkflowTriggerIdentity, e6 as WorkflowTriggerOf, e7 as WorkflowTriggerType, e8 as WorkflowWaitTask, e9 as WorkflowWaitTaskCore, ea as WorkflowWaitTaskInput, eb as WorkflowWebhook, ec as WorkflowWebhookInput, ed as WorkflowWebhookManualTrigger, ee as WorkflowWebhookManualTriggerCore, ef as WorkflowWebhookTrigger, eg as WorkflowWebhookTriggerCore, eh as WorkflowWebhookTriggerPure, el as getWorkflowApiCrmConfig, er as isFilter, es as isFilterGroup, et as isWorkflowBaseHttpTaskCore, ev as serializeFilters } from './events-CQtoMVf0.js';
2
2
  import 'utils';
3
3
  import 'json-schema';
4
4
  import 'zod';
@@ -952,6 +952,9 @@ var textBillingClientInstance = new TextBillingApiClient({
952
952
  // src/utils/misc/url/build.ts
953
953
  var buildUrlFromSegments = (segments, basePath, baseUrl = "") => segments.length ? `${baseUrl}${basePath}/${segments.map(encodeURIComponent).join("/")}` : basePath;
954
954
 
955
+ // src/apis/integrations/vercel/api.ts
956
+ var import_axios23 = __toESM(require("axios"));
957
+
955
958
  // src/apis/integrations/vercel/instance.ts
956
959
  var import_axios22 = __toESM(require("axios"));
957
960
  var vercelClientInstance = import_axios22.default.create({
@@ -998,45 +1001,68 @@ var platformAccountsClientInstance = new AccountApiClient({
998
1001
  baseURL: "https://accounts.labs.livechatinc.com"
999
1002
  });
1000
1003
 
1001
- // src/apis/platform/billing/instance.ts
1002
- var import_axios23 = __toESM(require("axios"));
1003
- var billingClientInstance = import_axios23.default.create({
1004
- baseURL: "https://billing.labs.livechatinc.com"
1004
+ // src/apis/platform/accounts/accounts/api.ts
1005
+ var urls = (withBaseUrl = false) => {
1006
+ const getUrl = (segments = []) => buildUrlFromSegments(
1007
+ segments,
1008
+ "/v2/accounts",
1009
+ withBaseUrl ? platformAccountsClientInstance.config.baseURL : void 0
1010
+ );
1011
+ return {
1012
+ getAccounts: () => getUrl(),
1013
+ getAccount: (id) => getUrl([id]),
1014
+ getMeAccount: () => getUrl(["me"])
1015
+ };
1016
+ };
1017
+ var api = {
1018
+ getAccounts(authorization) {
1019
+ return __async(this, null, function* () {
1020
+ return platformAccountsClientInstance.get(
1021
+ urls().getAccounts(),
1022
+ {
1023
+ authorization,
1024
+ customErrorMessage: "Accounts couldn't be fetched."
1025
+ }
1026
+ );
1027
+ });
1028
+ },
1029
+ getAccount(accountId, authorization) {
1030
+ return __async(this, null, function* () {
1031
+ return platformAccountsClientInstance.get(
1032
+ urls().getAccount(accountId),
1033
+ {
1034
+ authorization,
1035
+ customErrorMessage: "Account couldn't be fetched."
1036
+ }
1037
+ );
1038
+ });
1039
+ },
1040
+ getMeAccount(authorization) {
1041
+ return __async(this, null, function* () {
1042
+ return platformAccountsClientInstance.get(
1043
+ "/v2/accounts/me",
1044
+ {
1045
+ authorization,
1046
+ customErrorMessage: "Me account couldn't be fetched."
1047
+ }
1048
+ );
1049
+ });
1050
+ }
1051
+ };
1052
+ var platformAccountsAccountApi = __spreadProps(__spreadValues({}, api), {
1053
+ meta: {
1054
+ urls
1055
+ }
1005
1056
  });
1006
1057
 
1007
- // src/apis/platform/cdp/events/_contracts/payloads/events.ts
1008
- var import_zod = require("zod");
1009
- var customerMetadataZod = import_zod.z.object({
1010
- organization_id: import_zod.z.string(),
1011
- customer_id: import_zod.z.string(),
1012
- master_id: import_zod.z.string()
1058
+ // src/apis/platform/billing/instance.ts
1059
+ var import_axios24 = __toESM(require("axios"));
1060
+ var billingClientInstance = import_axios24.default.create({
1061
+ baseURL: "https://billing.labs.livechatinc.com"
1013
1062
  });
1014
- var cdpCustomerEventMessageZod = import_zod.z.discriminatedUnion("type", [
1015
- import_zod.z.object({
1016
- id: import_zod.z.string(),
1017
- type: import_zod.z.literal("customer_email_set" /* EmailSet */),
1018
- data: customerMetadataZod.extend({
1019
- email: import_zod.z.string()
1020
- }).passthrough()
1021
- }),
1022
- import_zod.z.object({
1023
- id: import_zod.z.string(),
1024
- type: import_zod.z.literal("customer_properties_values_updated" /* PropertiesValuesUpdated */),
1025
- data: customerMetadataZod.extend({
1026
- customer_properties: import_zod.z.record(
1027
- import_zod.z.object({
1028
- value: import_zod.z.unknown(),
1029
- last_updated_at: import_zod.z.string(),
1030
- last_updated_agent_account_id: import_zod.z.string().optional(),
1031
- last_updated_agent_client_id: import_zod.z.string().optional()
1032
- }).passthrough()
1033
- )
1034
- }).passthrough()
1035
- })
1036
- ]);
1037
1063
 
1038
1064
  // src/apis/platform/console/instance.ts
1039
- var import_axios24 = __toESM(require("axios"));
1065
+ var import_axios25 = __toESM(require("axios"));
1040
1066
  var REGION = {
1041
1067
  FRA: "fra",
1042
1068
  DAL: "dal",
@@ -1060,7 +1086,7 @@ var ConsoleApiError = class _ConsoleApiError extends ApiErrorBase {
1060
1086
  );
1061
1087
  }
1062
1088
  };
1063
- var consoleClientInstance = import_axios24.default.create({
1089
+ var consoleClientInstance = import_axios25.default.create({
1064
1090
  baseURL: "https://platform.labs.text.com/console/api",
1065
1091
  headers: {
1066
1092
  "Content-Type": "application/json"
@@ -1084,14 +1110,14 @@ consoleClientInstance.interceptors.response.use(
1084
1110
  );
1085
1111
 
1086
1112
  // src/apis/platform/dps/instance.ts
1087
- var import_axios25 = __toESM(require("axios"));
1113
+ var import_axios26 = __toESM(require("axios"));
1088
1114
  var DpsApiError = class extends ApiErrorBase {
1089
1115
  constructor() {
1090
1116
  super(...arguments);
1091
1117
  this.name = "dps";
1092
1118
  }
1093
1119
  };
1094
- var dpsClientInstance = import_axios25.default.create({
1120
+ var dpsClientInstance = import_axios26.default.create({
1095
1121
  baseURL: "https://dev-platform.labs.livechatinc.com"
1096
1122
  });
1097
1123
  dpsClientInstance.interceptors.response.use(
@@ -1111,32 +1137,15 @@ dpsClientInstance.interceptors.response.use(
1111
1137
  }
1112
1138
  );
1113
1139
 
1114
- // src/apis/products/helpdesk/_contracts/dtos/ticket.ts
1115
- var TicketStatus = /* @__PURE__ */ ((TicketStatus2) => {
1116
- TicketStatus2["Open"] = "open";
1117
- TicketStatus2["Pending"] = "pending";
1118
- TicketStatus2["OnHold"] = "onhold";
1119
- TicketStatus2["Solved"] = "solved";
1120
- TicketStatus2["Closed"] = "closed";
1121
- return TicketStatus2;
1122
- })(TicketStatus || {});
1123
- var TicketPriority = /* @__PURE__ */ ((TicketPriority2) => {
1124
- TicketPriority2[TicketPriority2["Low"] = -10] = "Low";
1125
- TicketPriority2[TicketPriority2["Medium"] = 0] = "Medium";
1126
- TicketPriority2[TicketPriority2["High"] = 10] = "High";
1127
- TicketPriority2[TicketPriority2["Urgent"] = 20] = "Urgent";
1128
- return TicketPriority2;
1129
- })(TicketPriority || {});
1130
-
1131
1140
  // src/apis/products/helpdesk/instance.ts
1132
- var import_axios26 = __toESM(require("axios"));
1141
+ var import_axios27 = __toESM(require("axios"));
1133
1142
  var HelpDeskApiError = class extends ApiErrorBase {
1134
1143
  constructor() {
1135
1144
  super(...arguments);
1136
1145
  this.name = "helpdesk";
1137
1146
  }
1138
1147
  };
1139
- var helpdeskClientInstance = import_axios26.default.create({
1148
+ var helpdeskClientInstance = import_axios27.default.create({
1140
1149
  baseURL: "https://api.labs.helpdesk.com"
1141
1150
  });
1142
1151
  helpdeskClientInstance.interceptors.response.use(
@@ -1157,7 +1166,7 @@ helpdeskClientInstance.interceptors.response.use(
1157
1166
  );
1158
1167
 
1159
1168
  // src/apis/products/livechat/instance.ts
1160
- var import_axios27 = __toESM(require("axios"));
1169
+ var import_axios28 = __toESM(require("axios"));
1161
1170
  var REGION2 = {
1162
1171
  FRA: "fra",
1163
1172
  DAL: "dal",
@@ -1171,7 +1180,7 @@ var LivechatApiError = class extends ApiErrorBase {
1171
1180
  this.name = "livechat";
1172
1181
  }
1173
1182
  };
1174
- var livechatClientInstance = import_axios27.default.create({
1183
+ var livechatClientInstance = import_axios28.default.create({
1175
1184
  baseURL: "https://api.labs.livechatinc.com"
1176
1185
  });
1177
1186
  livechatClientInstance.interceptors.response.use(
@@ -1191,6 +1200,150 @@ livechatClientInstance.interceptors.response.use(
1191
1200
  }
1192
1201
  );
1193
1202
 
1203
+ // src/apis/text-intelligence/workflows/adapter/instance.ts
1204
+ var import_axios29 = __toESM(require("axios"));
1205
+ var REGION3 = {
1206
+ FRA: "fra",
1207
+ DAL: "dal",
1208
+ FRA_A: "fra-a",
1209
+ FRA_B: "fra-b"
1210
+ };
1211
+ var supportedRegions3 = Object.values(REGION3);
1212
+ var AdapterApiError = class _AdapterApiError extends ApiErrorBase {
1213
+ constructor() {
1214
+ super(...arguments);
1215
+ this.name = "adapter";
1216
+ }
1217
+ static notFound(message) {
1218
+ return new _AdapterApiError(
1219
+ message != null ? message : "Not found",
1220
+ {
1221
+ errorCode: "not_found",
1222
+ errorMessage: "Not found"
1223
+ },
1224
+ 404
1225
+ );
1226
+ }
1227
+ };
1228
+ var adapterClientInstance = import_axios29.default.create({
1229
+ baseURL: "https://platform.labs.text.com/console-adapter/api",
1230
+ headers: {
1231
+ "Content-Type": "application/json"
1232
+ }
1233
+ });
1234
+ adapterClientInstance.interceptors.response.use(
1235
+ (response) => response,
1236
+ (error) => {
1237
+ var _a, _b;
1238
+ const apiError = (_a = error.response) == null ? void 0 : _a.data;
1239
+ if ((apiError == null ? void 0 : apiError.kind) === "unauthorized") {
1240
+ return Promise.reject(new UnauthorizeApiError(apiError.source));
1241
+ } else if ((apiError == null ? void 0 : apiError.kind) === "error") {
1242
+ const data = (_b = error.response) == null ? void 0 : _b.data;
1243
+ return Promise.reject(
1244
+ new AdapterApiError(data.message, data.data, data.code)
1245
+ );
1246
+ }
1247
+ return Promise.reject(error);
1248
+ }
1249
+ );
1250
+
1251
+ // src/apis/text-intelligence/workflows/workflow/instance.ts
1252
+ var import_axios30 = __toESM(require("axios"));
1253
+ var REGION4 = {
1254
+ FRA: "fra",
1255
+ DAL: "dal",
1256
+ FRA_A: "fra-a",
1257
+ FRA_B: "fra-b"
1258
+ };
1259
+ var supportedRegions4 = Object.values(REGION4);
1260
+ var WorkflowsApiError = class _WorkflowsApiError extends ApiErrorBase {
1261
+ constructor() {
1262
+ super(...arguments);
1263
+ this.name = "workflows";
1264
+ }
1265
+ static notFound(message) {
1266
+ return new _WorkflowsApiError(
1267
+ message != null ? message : "Not found",
1268
+ {
1269
+ errorCode: "not_found",
1270
+ errorMessage: "Not found"
1271
+ },
1272
+ 404
1273
+ );
1274
+ }
1275
+ };
1276
+ var workflowsClientInstance = import_axios30.default.create({
1277
+ baseURL: "https://platform.labs.text.com/workflows/api",
1278
+ headers: {
1279
+ "Content-Type": "application/json"
1280
+ }
1281
+ });
1282
+ workflowsClientInstance.interceptors.response.use(
1283
+ (response) => response,
1284
+ (error) => {
1285
+ var _a, _b;
1286
+ const apiError = (_a = error.response) == null ? void 0 : _a.data;
1287
+ if ((apiError == null ? void 0 : apiError.kind) === "unauthorized") {
1288
+ return Promise.reject(new UnauthorizeApiError(apiError.source));
1289
+ } else if ((apiError == null ? void 0 : apiError.kind) === "error") {
1290
+ const data = (_b = error.response) == null ? void 0 : _b.data;
1291
+ return Promise.reject(
1292
+ new WorkflowsApiError(data.message, data.data, data.code)
1293
+ );
1294
+ }
1295
+ return Promise.reject(error);
1296
+ }
1297
+ );
1298
+
1299
+ // src/apis/platform/cdp/events/_contracts/payloads/events.ts
1300
+ var import_zod = require("zod");
1301
+ var customerMetadataZod = import_zod.z.object({
1302
+ organization_id: import_zod.z.string(),
1303
+ customer_id: import_zod.z.string(),
1304
+ master_id: import_zod.z.string()
1305
+ });
1306
+ var cdpCustomerEventMessageZod = import_zod.z.discriminatedUnion("type", [
1307
+ import_zod.z.object({
1308
+ id: import_zod.z.string(),
1309
+ type: import_zod.z.literal("customer_email_set" /* EmailSet */),
1310
+ data: customerMetadataZod.extend({
1311
+ email: import_zod.z.string()
1312
+ }).passthrough()
1313
+ }),
1314
+ import_zod.z.object({
1315
+ id: import_zod.z.string(),
1316
+ type: import_zod.z.literal("customer_properties_values_updated" /* PropertiesValuesUpdated */),
1317
+ data: customerMetadataZod.extend({
1318
+ customer_properties: import_zod.z.record(
1319
+ import_zod.z.object({
1320
+ value: import_zod.z.unknown(),
1321
+ last_updated_at: import_zod.z.string(),
1322
+ last_updated_agent_account_id: import_zod.z.string().optional(),
1323
+ last_updated_agent_client_id: import_zod.z.string().optional()
1324
+ }).passthrough()
1325
+ )
1326
+ }).passthrough()
1327
+ })
1328
+ ]);
1329
+
1330
+ // src/apis/products/helpdesk/_contracts/dtos/ticket.ts
1331
+ var TicketStatus = /* @__PURE__ */ ((TicketStatus2) => {
1332
+ TicketStatus2["Open"] = "open";
1333
+ TicketStatus2["Pending"] = "pending";
1334
+ TicketStatus2["OnHold"] = "onhold";
1335
+ TicketStatus2["Solved"] = "solved";
1336
+ TicketStatus2["Closed"] = "closed";
1337
+ return TicketStatus2;
1338
+ })(TicketStatus || {});
1339
+ var TicketPriority = /* @__PURE__ */ ((TicketPriority2) => {
1340
+ TicketPriority2[TicketPriority2["Low"] = -10] = "Low";
1341
+ TicketPriority2[TicketPriority2["Medium"] = 0] = "Medium";
1342
+ TicketPriority2[TicketPriority2["High"] = 10] = "High";
1343
+ TicketPriority2[TicketPriority2["Urgent"] = 20] = "Urgent";
1344
+ return TicketPriority2;
1345
+ })(TicketPriority || {});
1346
+
1194
1347
  // src/apis/text-intelligence/workflows/adapter/admin/events/notifications/_contracts/dtos/notification.ts
1195
1348
  var import_zod2 = require("zod");
1196
1349
  var integrationNotificationZods = {
@@ -1299,54 +1452,6 @@ var integrationSubscriptionRequestZods = {
1299
1452
  })
1300
1453
  };
1301
1454
 
1302
- // src/apis/text-intelligence/workflows/adapter/instance.ts
1303
- var import_axios28 = __toESM(require("axios"));
1304
- var REGION3 = {
1305
- FRA: "fra",
1306
- DAL: "dal",
1307
- FRA_A: "fra-a",
1308
- FRA_B: "fra-b"
1309
- };
1310
- var supportedRegions3 = Object.values(REGION3);
1311
- var AdapterApiError = class _AdapterApiError extends ApiErrorBase {
1312
- constructor() {
1313
- super(...arguments);
1314
- this.name = "adapter";
1315
- }
1316
- static notFound(message) {
1317
- return new _AdapterApiError(
1318
- message != null ? message : "Not found",
1319
- {
1320
- errorCode: "not_found",
1321
- errorMessage: "Not found"
1322
- },
1323
- 404
1324
- );
1325
- }
1326
- };
1327
- var adapterClientInstance = import_axios28.default.create({
1328
- baseURL: "https://platform.labs.text.com/console-adapter/api",
1329
- headers: {
1330
- "Content-Type": "application/json"
1331
- }
1332
- });
1333
- adapterClientInstance.interceptors.response.use(
1334
- (response) => response,
1335
- (error) => {
1336
- var _a, _b;
1337
- const apiError = (_a = error.response) == null ? void 0 : _a.data;
1338
- if ((apiError == null ? void 0 : apiError.kind) === "unauthorized") {
1339
- return Promise.reject(new UnauthorizeApiError(apiError.source));
1340
- } else if ((apiError == null ? void 0 : apiError.kind) === "error") {
1341
- const data = (_b = error.response) == null ? void 0 : _b.data;
1342
- return Promise.reject(
1343
- new AdapterApiError(data.message, data.data, data.code)
1344
- );
1345
- }
1346
- return Promise.reject(error);
1347
- }
1348
- );
1349
-
1350
1455
  // src/apis/text-intelligence/workflows/adapter/integrations/_contracts/dtos/names.ts
1351
1456
  var IntegrationNames = /* @__PURE__ */ ((IntegrationNames2) => {
1352
1457
  IntegrationNames2["Accounts"] = "accounts";
@@ -2143,117 +2248,6 @@ var integrationEventsZods = {
2143
2248
  }
2144
2249
  };
2145
2250
 
2146
- // src/apis/text-intelligence/workflows/workflow/instance.ts
2147
- var import_axios29 = __toESM(require("axios"));
2148
- var REGION4 = {
2149
- FRA: "fra",
2150
- DAL: "dal",
2151
- FRA_A: "fra-a",
2152
- FRA_B: "fra-b"
2153
- };
2154
- var supportedRegions4 = Object.values(REGION4);
2155
- var WorkflowsApiError = class _WorkflowsApiError extends ApiErrorBase {
2156
- constructor() {
2157
- super(...arguments);
2158
- this.name = "workflows";
2159
- }
2160
- static notFound(message) {
2161
- return new _WorkflowsApiError(
2162
- message != null ? message : "Not found",
2163
- {
2164
- errorCode: "not_found",
2165
- errorMessage: "Not found"
2166
- },
2167
- 404
2168
- );
2169
- }
2170
- };
2171
- var workflowsClientInstance = import_axios29.default.create({
2172
- baseURL: "https://platform.labs.text.com/workflows/api",
2173
- headers: {
2174
- "Content-Type": "application/json"
2175
- }
2176
- });
2177
- workflowsClientInstance.interceptors.response.use(
2178
- (response) => response,
2179
- (error) => {
2180
- var _a, _b;
2181
- const apiError = (_a = error.response) == null ? void 0 : _a.data;
2182
- if ((apiError == null ? void 0 : apiError.kind) === "unauthorized") {
2183
- return Promise.reject(new UnauthorizeApiError(apiError.source));
2184
- } else if ((apiError == null ? void 0 : apiError.kind) === "error") {
2185
- const data = (_b = error.response) == null ? void 0 : _b.data;
2186
- return Promise.reject(
2187
- new WorkflowsApiError(data.message, data.data, data.code)
2188
- );
2189
- }
2190
- return Promise.reject(error);
2191
- }
2192
- );
2193
-
2194
- // src/apis/integrations/text/platform/workflow/resources/api.ts
2195
- var integrationNameToProduct = {
2196
- ["text-helpdesk" /* HelpDesk */]: "helpdesk",
2197
- ["text-livechat" /* LiveChat */]: "livechat"
2198
- };
2199
-
2200
- // src/apis/integrations/vercel/api.ts
2201
- var import_axios30 = __toESM(require("axios"));
2202
-
2203
- // src/apis/platform/accounts/accounts/api.ts
2204
- var urls = (withBaseUrl = false) => {
2205
- const getUrl = (segments = []) => buildUrlFromSegments(
2206
- segments,
2207
- "/v2/accounts",
2208
- withBaseUrl ? platformAccountsClientInstance.config.baseURL : void 0
2209
- );
2210
- return {
2211
- getAccounts: () => getUrl(),
2212
- getAccount: (id) => getUrl([id]),
2213
- getMeAccount: () => getUrl(["me"])
2214
- };
2215
- };
2216
- var api = {
2217
- getAccounts(authorization) {
2218
- return __async(this, null, function* () {
2219
- return platformAccountsClientInstance.get(
2220
- urls().getAccounts(),
2221
- {
2222
- authorization,
2223
- customErrorMessage: "Accounts couldn't be fetched."
2224
- }
2225
- );
2226
- });
2227
- },
2228
- getAccount(accountId, authorization) {
2229
- return __async(this, null, function* () {
2230
- return platformAccountsClientInstance.get(
2231
- urls().getAccount(accountId),
2232
- {
2233
- authorization,
2234
- customErrorMessage: "Account couldn't be fetched."
2235
- }
2236
- );
2237
- });
2238
- },
2239
- getMeAccount(authorization) {
2240
- return __async(this, null, function* () {
2241
- return platformAccountsClientInstance.get(
2242
- "/v2/accounts/me",
2243
- {
2244
- authorization,
2245
- customErrorMessage: "Me account couldn't be fetched."
2246
- }
2247
- );
2248
- });
2249
- }
2250
- };
2251
- var platformAccountsAccountApi = __spreadProps(__spreadValues({}, api), {
2252
- meta: {
2253
- urls
2254
- }
2255
- });
2256
-
2257
2251
  // src/apis/integrations/text/instance.ts
2258
2252
  var TextApiError = class extends ApiErrorBase {
2259
2253
  constructor() {
@@ -28,7 +28,7 @@ import {
28
28
  isFilterGroup,
29
29
  isWorkflowBaseHttpTaskCore,
30
30
  serializeFilters
31
- } from "./chunk-AVPZPHAU.mjs";
31
+ } from "./chunk-GND2D76F.mjs";
32
32
  export {
33
33
  CredentialStatus,
34
34
  CredentialType,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "5.6.0-beta.generator.30",
3
+ "version": "5.6.0-beta.generator.32",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -36,9 +36,9 @@
36
36
  "eslint": "^9.39.1",
37
37
  "tsup": "^8.5.1",
38
38
  "typescript": "^5.1.6",
39
- "tsconfig": "0.2.1",
39
+ "eslint-config-custom": "0.0.15",
40
40
  "utils": "0.3.4",
41
- "eslint-config-custom": "0.0.15"
41
+ "tsconfig": "0.2.1"
42
42
  },
43
43
  "scripts": {
44
44
  "build": "tsup",