@livechat/developer-studio-api 5.2.0-beta.v3 → 5.3.0-beta.v1
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/{chunk-NCXZIYUE.mjs → chunk-WMWSKU4M.mjs} +85 -60
- package/dist/{events-DluLBHoq.d.mts → events-DAbR7Qk8.d.mts} +203 -179
- package/dist/{events-DluLBHoq.d.ts → events-DAbR7Qk8.d.ts} +203 -179
- package/dist/index.d.mts +43 -36
- package/dist/index.d.ts +43 -36
- package/dist/index.js +90 -65
- package/dist/index.mjs +1 -1
- package/dist/workflow-contracts.d.mts +1 -1
- package/dist/workflow-contracts.d.ts +1 -1
- package/dist/workflow-contracts.js +53 -50
- package/dist/workflow-contracts.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -5,8 +5,8 @@ export { PaginatedResponse, Pagination, PagingQuery, mergeDeep } from 'utils';
|
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import * as axios from 'axios';
|
|
7
7
|
import { AxiosRequestConfig } from 'axios';
|
|
8
|
-
import { A as ApiErrorBase, U as UnauthorizeApiError, a as ApiErrorSource, G as GlobalAccountsClientAuthorization, T as TicketPriority, b as TicketStatus, I as IntegrationEventAuthorization, c as IntegrationNames, d as InternalServiceClientAuthorization, e as TextClientAuthorization, f as TextCustomerEventNames, W as WorkflowDto, g as AccountDto, S as SubscribeToIntegrationEventPayload, h as UnsubscribeFromIntegrationEventPayload, i as WorkflowCore, j as ApiPaginatedListQueryParams, k as WorkflowCrmOrganizationsOrderBy, l as WorkflowApiCrmAuthorization, m as ApiPaginatedResult, n as WorkflowCrmOrganization, o as WorkflowCrmWorkflowsOrderBy, p as WorkflowExecutionListItem, q as WorkflowExecution, r as WorkflowIntrospection, s as UpsertWorkflowPayload, t as IntrospectWorkflowTaskPayload, u as WorkflowTaskIntrospectResponse, C as CredentialDto, v as CreateCredentialPayload, w as UpdateCredentialPayload, F as FunctionDto, E as ExternalResourceReference, x as WorkflowTemplateOrderBy, y as WorkflowTemplateListEntry, z as WorkflowTemplate } from './events-
|
|
9
|
-
export { B as ApiError, D as ApiErrorKind, H as ApiErrorName, J as ApiPagination, K as AwaitTaskCallback, L as BigCommerceEvent, M as BigCommerceEventNames, N as BigCommerceOauthCredential, O as Credential, P as CredentialCore, Q as CredentialInjection, R as CredentialStatus, V as CredentialType, X as CredentialTypeDisplayNameMapping, Y as CustomerLeftChatReason, Z as ExternalResourceConfig, _ as ExternalResourceDependency, $ as Filter, a0 as FilterGroup, a1 as FilterOperator, a2 as FilterValue, a3 as Filters, a4 as FunctionSchema, a5 as GitHubAppCredential, a6 as GitHubOauthCredential, a7 as HubSpotOauthCredential, a8 as HubspotEvent, a9 as HubspotEventNames, aa as Identity, ab as IdentityField, ac as IdentitySpec, ad as IntegrationDisplayNameToNameMap, ae as IntegrationDisplayNames, af as IntegrationEvent, ag as IntegrationEventProviderName, ah as IntegrationEventSource, ai as IntegrationEventSourceName, aj as IntegrationKey, ak as IntegrationNameToDisplayMap, al as MailchimpEvent, am as MailchimpEventNames, an as MailchimpOauthCredential, ao as NeonOauthCredential, ap as NetlifyOauthCredential, aq as OAuthCredential, ar as OauthCredentialGrantType, as as OpenaiCredential, at as PlanetScaleOauthCredential, au as SalesforceOauthCredential, av as ShopifyEvent, aw as ShopifyEventNames, ax as ShopifyOauthCredential, ay as SlackEvent, az as SlackEventNames, aA as SlackOauthCredential, aB as SortBy, aC as SortOrder, aD as Sorting, aE as SubscribeToBigCommerceEventPayload, aF as SubscribeToHubspotEventPayload, aG as SubscribeToMailchimpEventPayload, aH as SubscribeToShopifyEventPayload, aI as SubscribeToSlackEventPayload, aJ as SubscribeToTextCustomerEventPayload, aK as SubscribeToTextHelpDeskEventPayload, aL as SubscribeToTextLivechatEventPayload, aM as TRIGGER_REFERENCE_NAME, aN as TextApiError, aO as TextAuthCredential, aP as TextClientOptions, aQ as TextCustomerEvent, aR as TextHelpDeskEvent, aS as TextHelpDeskEventBaseFilters, aT as TextHelpDeskEventNames, aU as TextLiveChatEvent, aV as TextLivechatEventNames, aW as TextLivechatProductCardEventType, aX as TextOAuthCredential, aY as UnsubscribeFromBigCommerceEventPayload, aZ as UnsubscribeFromHubspotEventPayload, a_ as UnsubscribeFromMailchimpEventPayload, a$ as UnsubscribeFromShopifyEventPayload, b0 as UnsubscribeFromSlackEventPayload, b1 as UnsubscribeFromTextCustomerEventPayload, b2 as UnsubscribeFromTextHelpDeskEventPayload, b3 as UnsubscribeFromTextLivechatEventPayload, b4 as VercelOauthCredential, b5 as
|
|
8
|
+
import { A as ApiErrorBase, U as UnauthorizeApiError, a as ApiErrorSource, G as GlobalAccountsClientAuthorization, T as TicketPriority, b as TicketStatus, I as IntegrationEventAuthorization, c as IntegrationNames, d as InternalServiceClientAuthorization, e as TextClientAuthorization, f as TextCustomerEventNames, W as WorkflowDto, g as AccountDto, S as SubscribeToIntegrationEventPayload, h as UnsubscribeFromIntegrationEventPayload, i as WorkflowCore, j as ApiPaginatedListQueryParams, k as WorkflowCrmOrganizationsOrderBy, l as WorkflowApiCrmAuthorization, m as ApiPaginatedResult, n as WorkflowCrmOrganization, o as WorkflowCrmWorkflowsOrderBy, p as WorkflowExecutionListItem, q as WorkflowExecution, r as WorkflowIntrospection, s as UpsertWorkflowPayload, t as IntrospectWorkflowTaskPayload, u as WorkflowTaskIntrospectResponse, C as CredentialDto, v as CreateCredentialPayload, w as UpdateCredentialPayload, F as FunctionDto, E as ExternalResourceReference, x as WorkflowTemplateOrderBy, y as WorkflowTemplateListEntry, z as WorkflowTemplate } from './events-DAbR7Qk8.mjs';
|
|
9
|
+
export { B as ApiError, D as ApiErrorKind, H as ApiErrorName, J as ApiPagination, K as AwaitTaskCallback, L as BigCommerceEvent, M as BigCommerceEventNames, N as BigCommerceOauthCredential, O as Credential, P as CredentialCore, Q as CredentialInjection, R as CredentialStatus, V as CredentialType, X as CredentialTypeDisplayNameMapping, Y as CustomerLeftChatReason, Z as ExternalResourceConfig, _ as ExternalResourceDependency, $ as Filter, a0 as FilterGroup, a1 as FilterOperator, a2 as FilterValue, a3 as Filters, a4 as FunctionSchema, a5 as GitHubAppCredential, a6 as GitHubOauthCredential, a7 as HubSpotOauthCredential, a8 as HubspotEvent, a9 as HubspotEventNames, aa as Identity, ab as IdentityField, ac as IdentitySpec, ad as IntegrationDisplayNameToNameMap, ae as IntegrationDisplayNames, af as IntegrationEvent, ag as IntegrationEventProviderName, ah as IntegrationEventSource, ai as IntegrationEventSourceName, aj as IntegrationKey, ak as IntegrationNameToDisplayMap, al as MailchimpEvent, am as MailchimpEventNames, an as MailchimpOauthCredential, ao as NeonOauthCredential, ap as NetlifyOauthCredential, aq as OAuthCredential, ar as OauthCredentialGrantType, as as OpenaiCredential, at as PlanetScaleOauthCredential, au as SalesforceOauthCredential, av as ShopifyEvent, aw as ShopifyEventNames, ax as ShopifyOauthCredential, ay as SlackEvent, az as SlackEventNames, aA as SlackOauthCredential, aB as SortBy, aC as SortOrder, aD as Sorting, aE as SubscribeToBigCommerceEventPayload, aF as SubscribeToHubspotEventPayload, aG as SubscribeToMailchimpEventPayload, aH as SubscribeToShopifyEventPayload, aI as SubscribeToSlackEventPayload, aJ as SubscribeToTextCustomerEventPayload, aK as SubscribeToTextHelpDeskEventPayload, aL as SubscribeToTextLivechatEventPayload, aM as TRIGGER_REFERENCE_NAME, aN as TextApiError, aO as TextAuthCredential, aP as TextClientOptions, aQ as TextCustomerEvent, aR as TextHelpDeskEvent, aS as TextHelpDeskEventBaseFilters, aT as TextHelpDeskEventNames, aU as TextLiveChatEvent, aV as TextLivechatEventNames, aW as TextLivechatProductCardEventType, aX as TextOAuthCredential, aY as UnsubscribeFromBigCommerceEventPayload, aZ as UnsubscribeFromHubspotEventPayload, a_ as UnsubscribeFromMailchimpEventPayload, a$ as UnsubscribeFromShopifyEventPayload, b0 as UnsubscribeFromSlackEventPayload, b1 as UnsubscribeFromTextCustomerEventPayload, b2 as UnsubscribeFromTextHelpDeskEventPayload, b3 as UnsubscribeFromTextLivechatEventPayload, b4 as VercelOauthCredential, b5 as Workflow, b6 as WorkflowActionTask, b7 as WorkflowActionTaskCore, b8 as WorkflowActionTaskErrorOutput, b9 as WorkflowActionTaskInput, ba as WorkflowActionTaskInputParameters, bb as WorkflowActionTaskSuccessOutput, bc as WorkflowAgentTrigger, bd as WorkflowAgentTriggerCore, be as WorkflowAgentTriggerInput, bf as WorkflowAggregate, bg as WorkflowAwaitTask, bh as WorkflowAwaitTaskCore, bi as WorkflowAwaitTaskInput, bj as WorkflowBranch, bk as WorkflowBundle, bl as WorkflowConditionTask, bm as WorkflowConditionTaskCondition, bn as WorkflowConditionTaskCore, bo as WorkflowConditionTaskFieldType, bp as WorkflowConditionTaskInput, bq as WorkflowConditionTaskLogic, br as WorkflowConditionTaskOperator, bs as WorkflowConditionTaskOperatorGroup, bt as WorkflowConditionTaskOperatorValueType, bu as WorkflowConstructArrayItem, bv as WorkflowConstructObjectField, bw as WorkflowConstructOutputType, bx as WorkflowConstructTask, by as WorkflowConstructTaskCore, bz as WorkflowConstructTaskDefinitionInputParameters, bA as WorkflowConstructTaskInput, bB as WorkflowConstructTaskInputArray, bC as WorkflowConstructTaskInputObject, bD as WorkflowConvertTask, bE as WorkflowConvertTaskCore, bF as WorkflowConvertTaskDefinitionInputParameters, bG as WorkflowConvertTaskInput, bH as WorkflowConvertTaskInputFilter, bI as WorkflowConvertTaskInputJoin, bJ as WorkflowConvertTaskInputLookup, bK as WorkflowConvertTaskInputPickOmit, bL as WorkflowConvertTaskInputPluck, bM as WorkflowConvertTaskInputReducer, bN as WorkflowConvertTaskInputReplace, bO as WorkflowConvertTaskInputSimple, bP as WorkflowConvertTaskInputSort, bQ as WorkflowConvertTaskInputSplit, bR as WorkflowConvertTaskInputSum, bS as WorkflowConvertTaskTransformer, bT as WorkflowCustomTaskName, bU as WorkflowDefinitionDto, bV as WorkflowDoWhileBaseTask, bW as WorkflowDoWhileBaseTaskCore, bX as WorkflowDoWhileBaseTaskInput, bY as WorkflowDoWhileTask, bZ as WorkflowDoWhileTaskCore, b_ as WorkflowElement, b$ as WorkflowElementCore, c0 as WorkflowElementIdentity, c1 as WorkflowElementRef, c2 as WorkflowExecutionActionTaskData, c3 as WorkflowExecutionAwaitTaskData, c4 as WorkflowExecutionChatContext, c5 as WorkflowExecutionConditionTask, c6 as WorkflowExecutionConstructTask, c7 as WorkflowExecutionContext, c8 as WorkflowExecutionConvertTask, c9 as WorkflowExecutionData, ca as WorkflowExecutionDefinitionStatus, cb as WorkflowExecutionDoWhileIterationOutput, cc as WorkflowExecutionDoWhileTaskData, cd as WorkflowExecutionForkJoinTaskData, ce as WorkflowExecutionHttpTaskData, cf as WorkflowExecutionInlineBaseTask, cg as WorkflowExecutionInlineTaskData, ch as WorkflowExecutionJoinTaskData, ci as WorkflowExecutionNotifyAiAgentTaskData, cj as WorkflowExecutionReasoningTaskData, ck as WorkflowExecutionScriptTask, cl as WorkflowExecutionSimpleBaseTaskData, cm as WorkflowExecutionSimpleTaskData, cn as WorkflowExecutionStatus, co as WorkflowExecutionSwitchBaseTask, cp as WorkflowExecutionSwitchCaseTask, cq as WorkflowExecutionSwitchTaskData, cr as WorkflowExecutionTaskBase, cs as WorkflowExecutionTaskData, ct as WorkflowExecutionTaskStatus, cu as WorkflowExecutionTerminateTaskData, cv as WorkflowExecutionTicketContext, cw as WorkflowExecutionTransformBaseTask, cx as WorkflowExecutionTransformTaskData, cy as WorkflowExecutionTriggerData, cz as WorkflowExecutionTriggerDataBase, cA as WorkflowExecutionWaitTaskData, cB as WorkflowForEachTask, cC as WorkflowForEachTaskCore, cD as WorkflowForEachTaskInput, cE as WorkflowForkJoinTask, cF as WorkflowForkJoinTaskCore, cG as WorkflowForkJoinTaskInput, cH as WorkflowFunctionErrorResponseBody, cI as WorkflowGraph, cJ as WorkflowHttpRequest, cK as WorkflowHttpTask, cL as WorkflowHttpTaskCore, cM as WorkflowHttpTaskErrorResponseBody, cN as WorkflowHttpTaskFunctionErrorResponseBody, cO as WorkflowHttpTaskHeaders, cP as WorkflowHttpTaskInput, cQ as WorkflowHttpTaskProviderErrorResponseBody, cR as WorkflowInlineBaseTask, cS as WorkflowInlineBaseTaskCore, cT as WorkflowInlineBaseTaskInput, cU as WorkflowInlineTask, cV as WorkflowInlineTaskCore, cW as WorkflowItemKind, cX as WorkflowJoinTask, cY as WorkflowJoinTaskCore, cZ as WorkflowJoinTaskInput, c_ as WorkflowLoopTask, c$ as WorkflowLoopTaskCore, d0 as WorkflowLoopTaskInput, d1 as WorkflowManualTrigger, d2 as WorkflowManualTriggerCore, d3 as WorkflowManualTriggerInput, d4 as WorkflowManualTriggerParameter, d5 as WorkflowNode, d6 as WorkflowNotifyAiAgentTask, d7 as WorkflowNotifyAiAgentTaskCore, d8 as WorkflowNotifyAiAgentTaskInput, d9 as WorkflowNotifyAiAgentTaskObjectiveInput, da as WorkflowNotifyAiAgentTaskStrictInput, db as WorkflowOneTimeTrigger, dc as WorkflowOneTimeTriggerCore, dd as WorkflowOneTimeTriggerInput, de as WorkflowParentRef, df as WorkflowPlan, dg as WorkflowPlanTask, dh as WorkflowPlanTrigger, di as WorkflowReasoningOption, dj as WorkflowReasoningOptionAgent, dk as WorkflowReasoningOptionCustomer, dl as WorkflowReasoningTask, dm as WorkflowReasoningTaskCore, dn as WorkflowReasoningTaskInput, dp as WorkflowRecurringTrigger, dq as WorkflowRecurringTriggerCore, dr as WorkflowRecurringTriggerInput, ds as WorkflowScriptTask, dt as WorkflowScriptTaskCore, du as WorkflowScriptTaskInput, dv as WorkflowSimpleBaseTask, dw as WorkflowSimpleBaseTaskCore, dx as WorkflowSimpleTask, dy as WorkflowSimpleTaskCore, dz as WorkflowSwitchBaseTask, dA as WorkflowSwitchBaseTaskCore, dB as WorkflowSwitchCaseTask, dC as WorkflowSwitchCaseTaskCore, dD as WorkflowSwitchCaseTaskInput, dE as WorkflowSwitchTask, dF as WorkflowSwitchTaskCore, dG as WorkflowSwitchTaskInput, dH as WorkflowTask, dI as WorkflowTaskBase, dJ as WorkflowTaskCore, dK as WorkflowTaskCoreBase, dL as WorkflowTaskIdentity, dM as WorkflowTaskIntrospection, dN as WorkflowTaskOf, dO as WorkflowTaskType, dP as WorkflowTemplateCategory, dQ as WorkflowTemplateMetadataItem, dR as WorkflowTerminateTask, dS as WorkflowTerminateTaskCore, dT as WorkflowTerminateTaskInput, dU as WorkflowTransformBaseTask, dV as WorkflowTransformBaseTaskCore, dW as WorkflowTransformBaseTaskInput, dX as WorkflowTransformTask, dY as WorkflowTransformTaskCore, dZ as WorkflowTrigger, d_ as WorkflowTriggerBase, d$ as WorkflowTriggerCore, e0 as WorkflowTriggerDto, e1 as WorkflowTriggerIdentity, e2 as WorkflowTriggerOf, e3 as WorkflowTriggerType, e4 as WorkflowWaitTask, e5 as WorkflowWaitTaskCore, e6 as WorkflowWaitTaskInput, e7 as WorkflowWebhook, e8 as WorkflowWebhookManualTrigger, e9 as WorkflowWebhookManualTriggerCore, ea as WorkflowWebhookTrigger, eb as WorkflowWebhookTriggerCore, ec as WorkflowWebhookTriggerPure, ed as bigcommerceEventsZods, ee as getTextClientAuthorization, ef as getTextClientConfig, eg as getWorkflowApiCrmConfig, eh as hubspotEventsZods, ei as initTextClient, ej as integrationEventBase, ek as integrationEventsCoreZods, el as integrationEventsZods, em as isFilter, en as isFilterGroup, eo as mailchimpEventsZods, ep as serializeFilters, eq as shopifyEventsZods, er as slackEventsZods, es as textClientInstance, et as textCustomerEventsZods, eu as textHelpDeskEventsZods, ev as textLivechatEventsZods } from './events-DAbR7Qk8.mjs';
|
|
10
10
|
import { JSONSchema7 } from 'json-schema';
|
|
11
11
|
|
|
12
12
|
interface GitHubUser {
|
|
@@ -3680,7 +3680,7 @@ interface GetTextPlatformDashboardReportParams {
|
|
|
3680
3680
|
is_source_private?: boolean;
|
|
3681
3681
|
}
|
|
3682
3682
|
|
|
3683
|
-
type ResourcerProvider = 'text/chats' | 'text/customers' | 'text/tickets' | 'mailchimp' | 'salesforce' | 'slack';
|
|
3683
|
+
type ResourcerProvider = 'text/chats' | 'text/customers' | 'text/tickets' | 'klaviyo' | 'mailchimp' | 'salesforce' | 'slack';
|
|
3684
3684
|
interface ResourcerResource {
|
|
3685
3685
|
provider: IntegrationNames | string;
|
|
3686
3686
|
domain?: string | null;
|
|
@@ -3918,27 +3918,27 @@ declare const textEventsZods: {
|
|
|
3918
3918
|
name: z.ZodLiteral<TextCustomerEventNames.PropertiesValuesUpdated>;
|
|
3919
3919
|
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3920
3920
|
id: z.ZodString;
|
|
3921
|
-
to: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]
|
|
3921
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3922
3922
|
}, "strip", z.ZodTypeAny, {
|
|
3923
3923
|
id: string;
|
|
3924
|
-
to?: string | number | boolean | undefined;
|
|
3924
|
+
to?: string | number | boolean | null | undefined;
|
|
3925
3925
|
}, {
|
|
3926
3926
|
id: string;
|
|
3927
|
-
to?: string | number | boolean | undefined;
|
|
3927
|
+
to?: string | number | boolean | null | undefined;
|
|
3928
3928
|
}>, "many">>;
|
|
3929
3929
|
}>, "strip", z.ZodTypeAny, {
|
|
3930
3930
|
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
3931
3931
|
version?: string | undefined;
|
|
3932
3932
|
properties?: {
|
|
3933
3933
|
id: string;
|
|
3934
|
-
to?: string | number | boolean | undefined;
|
|
3934
|
+
to?: string | number | boolean | null | undefined;
|
|
3935
3935
|
}[] | undefined;
|
|
3936
3936
|
}, {
|
|
3937
3937
|
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
3938
3938
|
version?: string | undefined;
|
|
3939
3939
|
properties?: {
|
|
3940
3940
|
id: string;
|
|
3941
|
-
to?: string | number | boolean | undefined;
|
|
3941
|
+
to?: string | number | boolean | null | undefined;
|
|
3942
3942
|
}[] | undefined;
|
|
3943
3943
|
}>]>;
|
|
3944
3944
|
readonly subscribe: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
@@ -3970,27 +3970,27 @@ declare const textEventsZods: {
|
|
|
3970
3970
|
name: z.ZodLiteral<TextCustomerEventNames.PropertiesValuesUpdated>;
|
|
3971
3971
|
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3972
3972
|
id: z.ZodString;
|
|
3973
|
-
to: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]
|
|
3973
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3974
3974
|
}, "strip", z.ZodTypeAny, {
|
|
3975
3975
|
id: string;
|
|
3976
|
-
to?: string | number | boolean | undefined;
|
|
3976
|
+
to?: string | number | boolean | null | undefined;
|
|
3977
3977
|
}, {
|
|
3978
3978
|
id: string;
|
|
3979
|
-
to?: string | number | boolean | undefined;
|
|
3979
|
+
to?: string | number | boolean | null | undefined;
|
|
3980
3980
|
}>, "many">>;
|
|
3981
3981
|
}>, "strip", z.ZodTypeAny, {
|
|
3982
3982
|
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
3983
3983
|
version?: string | undefined;
|
|
3984
3984
|
properties?: {
|
|
3985
3985
|
id: string;
|
|
3986
|
-
to?: string | number | boolean | undefined;
|
|
3986
|
+
to?: string | number | boolean | null | undefined;
|
|
3987
3987
|
}[] | undefined;
|
|
3988
3988
|
}, {
|
|
3989
3989
|
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
3990
3990
|
version?: string | undefined;
|
|
3991
3991
|
properties?: {
|
|
3992
3992
|
id: string;
|
|
3993
|
-
to?: string | number | boolean | undefined;
|
|
3993
|
+
to?: string | number | boolean | null | undefined;
|
|
3994
3994
|
}[] | undefined;
|
|
3995
3995
|
}>]>;
|
|
3996
3996
|
callback: z.ZodString;
|
|
@@ -4004,7 +4004,7 @@ declare const textEventsZods: {
|
|
|
4004
4004
|
version?: string | undefined;
|
|
4005
4005
|
properties?: {
|
|
4006
4006
|
id: string;
|
|
4007
|
-
to?: string | number | boolean | undefined;
|
|
4007
|
+
to?: string | number | boolean | null | undefined;
|
|
4008
4008
|
}[] | undefined;
|
|
4009
4009
|
};
|
|
4010
4010
|
callback: string;
|
|
@@ -4018,7 +4018,7 @@ declare const textEventsZods: {
|
|
|
4018
4018
|
version?: string | undefined;
|
|
4019
4019
|
properties?: {
|
|
4020
4020
|
id: string;
|
|
4021
|
-
to?: string | number | boolean | undefined;
|
|
4021
|
+
to?: string | number | boolean | null | undefined;
|
|
4022
4022
|
}[] | undefined;
|
|
4023
4023
|
};
|
|
4024
4024
|
callback: string;
|
|
@@ -4070,27 +4070,27 @@ declare const textEventsZods: {
|
|
|
4070
4070
|
name: z.ZodLiteral<TextCustomerEventNames.PropertiesValuesUpdated>;
|
|
4071
4071
|
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4072
4072
|
id: z.ZodString;
|
|
4073
|
-
to: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]
|
|
4073
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
4074
4074
|
}, "strip", z.ZodTypeAny, {
|
|
4075
4075
|
id: string;
|
|
4076
|
-
to?: string | number | boolean | undefined;
|
|
4076
|
+
to?: string | number | boolean | null | undefined;
|
|
4077
4077
|
}, {
|
|
4078
4078
|
id: string;
|
|
4079
|
-
to?: string | number | boolean | undefined;
|
|
4079
|
+
to?: string | number | boolean | null | undefined;
|
|
4080
4080
|
}>, "many">>;
|
|
4081
4081
|
}>, "strip", z.ZodTypeAny, {
|
|
4082
4082
|
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4083
4083
|
version?: string | undefined;
|
|
4084
4084
|
properties?: {
|
|
4085
4085
|
id: string;
|
|
4086
|
-
to?: string | number | boolean | undefined;
|
|
4086
|
+
to?: string | number | boolean | null | undefined;
|
|
4087
4087
|
}[] | undefined;
|
|
4088
4088
|
}, {
|
|
4089
4089
|
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4090
4090
|
version?: string | undefined;
|
|
4091
4091
|
properties?: {
|
|
4092
4092
|
id: string;
|
|
4093
|
-
to?: string | number | boolean | undefined;
|
|
4093
|
+
to?: string | number | boolean | null | undefined;
|
|
4094
4094
|
}[] | undefined;
|
|
4095
4095
|
}>]>;
|
|
4096
4096
|
callback: z.ZodString;
|
|
@@ -4104,7 +4104,7 @@ declare const textEventsZods: {
|
|
|
4104
4104
|
version?: string | undefined;
|
|
4105
4105
|
properties?: {
|
|
4106
4106
|
id: string;
|
|
4107
|
-
to?: string | number | boolean | undefined;
|
|
4107
|
+
to?: string | number | boolean | null | undefined;
|
|
4108
4108
|
}[] | undefined;
|
|
4109
4109
|
};
|
|
4110
4110
|
callback: string;
|
|
@@ -4119,7 +4119,7 @@ declare const textEventsZods: {
|
|
|
4119
4119
|
version?: string | undefined;
|
|
4120
4120
|
properties?: {
|
|
4121
4121
|
id: string;
|
|
4122
|
-
to?: string | number | boolean | undefined;
|
|
4122
|
+
to?: string | number | boolean | null | undefined;
|
|
4123
4123
|
}[] | undefined;
|
|
4124
4124
|
};
|
|
4125
4125
|
callback: string;
|
|
@@ -4154,27 +4154,27 @@ declare const textEventsZods: {
|
|
|
4154
4154
|
name: z.ZodLiteral<TextCustomerEventNames.PropertiesValuesUpdated>;
|
|
4155
4155
|
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4156
4156
|
id: z.ZodString;
|
|
4157
|
-
to: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]
|
|
4157
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
4158
4158
|
}, "strip", z.ZodTypeAny, {
|
|
4159
4159
|
id: string;
|
|
4160
|
-
to?: string | number | boolean | undefined;
|
|
4160
|
+
to?: string | number | boolean | null | undefined;
|
|
4161
4161
|
}, {
|
|
4162
4162
|
id: string;
|
|
4163
|
-
to?: string | number | boolean | undefined;
|
|
4163
|
+
to?: string | number | boolean | null | undefined;
|
|
4164
4164
|
}>, "many">>;
|
|
4165
4165
|
}>, "strip", z.ZodTypeAny, {
|
|
4166
4166
|
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4167
4167
|
version?: string | undefined;
|
|
4168
4168
|
properties?: {
|
|
4169
4169
|
id: string;
|
|
4170
|
-
to?: string | number | boolean | undefined;
|
|
4170
|
+
to?: string | number | boolean | null | undefined;
|
|
4171
4171
|
}[] | undefined;
|
|
4172
4172
|
}, {
|
|
4173
4173
|
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4174
4174
|
version?: string | undefined;
|
|
4175
4175
|
properties?: {
|
|
4176
4176
|
id: string;
|
|
4177
|
-
to?: string | number | boolean | undefined;
|
|
4177
|
+
to?: string | number | boolean | null | undefined;
|
|
4178
4178
|
}[] | undefined;
|
|
4179
4179
|
}>]>;
|
|
4180
4180
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4187,7 +4187,7 @@ declare const textEventsZods: {
|
|
|
4187
4187
|
version?: string | undefined;
|
|
4188
4188
|
properties?: {
|
|
4189
4189
|
id: string;
|
|
4190
|
-
to?: string | number | boolean | undefined;
|
|
4190
|
+
to?: string | number | boolean | null | undefined;
|
|
4191
4191
|
}[] | undefined;
|
|
4192
4192
|
};
|
|
4193
4193
|
}, {
|
|
@@ -4200,7 +4200,7 @@ declare const textEventsZods: {
|
|
|
4200
4200
|
version?: string | undefined;
|
|
4201
4201
|
properties?: {
|
|
4202
4202
|
id: string;
|
|
4203
|
-
to?: string | number | boolean | undefined;
|
|
4203
|
+
to?: string | number | boolean | null | undefined;
|
|
4204
4204
|
}[] | undefined;
|
|
4205
4205
|
};
|
|
4206
4206
|
}>>, z.ZodObject<{
|
|
@@ -4251,27 +4251,27 @@ declare const textEventsZods: {
|
|
|
4251
4251
|
name: z.ZodLiteral<TextCustomerEventNames.PropertiesValuesUpdated>;
|
|
4252
4252
|
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4253
4253
|
id: z.ZodString;
|
|
4254
|
-
to: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]
|
|
4254
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
4255
4255
|
}, "strip", z.ZodTypeAny, {
|
|
4256
4256
|
id: string;
|
|
4257
|
-
to?: string | number | boolean | undefined;
|
|
4257
|
+
to?: string | number | boolean | null | undefined;
|
|
4258
4258
|
}, {
|
|
4259
4259
|
id: string;
|
|
4260
|
-
to?: string | number | boolean | undefined;
|
|
4260
|
+
to?: string | number | boolean | null | undefined;
|
|
4261
4261
|
}>, "many">>;
|
|
4262
4262
|
}>, "strip", z.ZodTypeAny, {
|
|
4263
4263
|
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4264
4264
|
version?: string | undefined;
|
|
4265
4265
|
properties?: {
|
|
4266
4266
|
id: string;
|
|
4267
|
-
to?: string | number | boolean | undefined;
|
|
4267
|
+
to?: string | number | boolean | null | undefined;
|
|
4268
4268
|
}[] | undefined;
|
|
4269
4269
|
}, {
|
|
4270
4270
|
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4271
4271
|
version?: string | undefined;
|
|
4272
4272
|
properties?: {
|
|
4273
4273
|
id: string;
|
|
4274
|
-
to?: string | number | boolean | undefined;
|
|
4274
|
+
to?: string | number | boolean | null | undefined;
|
|
4275
4275
|
}[] | undefined;
|
|
4276
4276
|
}>]>;
|
|
4277
4277
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4284,7 +4284,7 @@ declare const textEventsZods: {
|
|
|
4284
4284
|
version?: string | undefined;
|
|
4285
4285
|
properties?: {
|
|
4286
4286
|
id: string;
|
|
4287
|
-
to?: string | number | boolean | undefined;
|
|
4287
|
+
to?: string | number | boolean | null | undefined;
|
|
4288
4288
|
}[] | undefined;
|
|
4289
4289
|
};
|
|
4290
4290
|
provider: IntegrationNames.Text;
|
|
@@ -4298,7 +4298,7 @@ declare const textEventsZods: {
|
|
|
4298
4298
|
version?: string | undefined;
|
|
4299
4299
|
properties?: {
|
|
4300
4300
|
id: string;
|
|
4301
|
-
to?: string | number | boolean | undefined;
|
|
4301
|
+
to?: string | number | boolean | null | undefined;
|
|
4302
4302
|
}[] | undefined;
|
|
4303
4303
|
};
|
|
4304
4304
|
provider: IntegrationNames.Text;
|
|
@@ -5419,6 +5419,13 @@ declare const api: {
|
|
|
5419
5419
|
email: string;
|
|
5420
5420
|
}>;
|
|
5421
5421
|
};
|
|
5422
|
+
klaviyo: {
|
|
5423
|
+
getAccount({ token }: {
|
|
5424
|
+
token: string;
|
|
5425
|
+
}): Promise<{
|
|
5426
|
+
email: string | undefined;
|
|
5427
|
+
}>;
|
|
5428
|
+
};
|
|
5422
5429
|
};
|
|
5423
5430
|
isInitialized: boolean;
|
|
5424
5431
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ export { PaginatedResponse, Pagination, PagingQuery, mergeDeep } from 'utils';
|
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import * as axios from 'axios';
|
|
7
7
|
import { AxiosRequestConfig } from 'axios';
|
|
8
|
-
import { A as ApiErrorBase, U as UnauthorizeApiError, a as ApiErrorSource, G as GlobalAccountsClientAuthorization, T as TicketPriority, b as TicketStatus, I as IntegrationEventAuthorization, c as IntegrationNames, d as InternalServiceClientAuthorization, e as TextClientAuthorization, f as TextCustomerEventNames, W as WorkflowDto, g as AccountDto, S as SubscribeToIntegrationEventPayload, h as UnsubscribeFromIntegrationEventPayload, i as WorkflowCore, j as ApiPaginatedListQueryParams, k as WorkflowCrmOrganizationsOrderBy, l as WorkflowApiCrmAuthorization, m as ApiPaginatedResult, n as WorkflowCrmOrganization, o as WorkflowCrmWorkflowsOrderBy, p as WorkflowExecutionListItem, q as WorkflowExecution, r as WorkflowIntrospection, s as UpsertWorkflowPayload, t as IntrospectWorkflowTaskPayload, u as WorkflowTaskIntrospectResponse, C as CredentialDto, v as CreateCredentialPayload, w as UpdateCredentialPayload, F as FunctionDto, E as ExternalResourceReference, x as WorkflowTemplateOrderBy, y as WorkflowTemplateListEntry, z as WorkflowTemplate } from './events-
|
|
9
|
-
export { B as ApiError, D as ApiErrorKind, H as ApiErrorName, J as ApiPagination, K as AwaitTaskCallback, L as BigCommerceEvent, M as BigCommerceEventNames, N as BigCommerceOauthCredential, O as Credential, P as CredentialCore, Q as CredentialInjection, R as CredentialStatus, V as CredentialType, X as CredentialTypeDisplayNameMapping, Y as CustomerLeftChatReason, Z as ExternalResourceConfig, _ as ExternalResourceDependency, $ as Filter, a0 as FilterGroup, a1 as FilterOperator, a2 as FilterValue, a3 as Filters, a4 as FunctionSchema, a5 as GitHubAppCredential, a6 as GitHubOauthCredential, a7 as HubSpotOauthCredential, a8 as HubspotEvent, a9 as HubspotEventNames, aa as Identity, ab as IdentityField, ac as IdentitySpec, ad as IntegrationDisplayNameToNameMap, ae as IntegrationDisplayNames, af as IntegrationEvent, ag as IntegrationEventProviderName, ah as IntegrationEventSource, ai as IntegrationEventSourceName, aj as IntegrationKey, ak as IntegrationNameToDisplayMap, al as MailchimpEvent, am as MailchimpEventNames, an as MailchimpOauthCredential, ao as NeonOauthCredential, ap as NetlifyOauthCredential, aq as OAuthCredential, ar as OauthCredentialGrantType, as as OpenaiCredential, at as PlanetScaleOauthCredential, au as SalesforceOauthCredential, av as ShopifyEvent, aw as ShopifyEventNames, ax as ShopifyOauthCredential, ay as SlackEvent, az as SlackEventNames, aA as SlackOauthCredential, aB as SortBy, aC as SortOrder, aD as Sorting, aE as SubscribeToBigCommerceEventPayload, aF as SubscribeToHubspotEventPayload, aG as SubscribeToMailchimpEventPayload, aH as SubscribeToShopifyEventPayload, aI as SubscribeToSlackEventPayload, aJ as SubscribeToTextCustomerEventPayload, aK as SubscribeToTextHelpDeskEventPayload, aL as SubscribeToTextLivechatEventPayload, aM as TRIGGER_REFERENCE_NAME, aN as TextApiError, aO as TextAuthCredential, aP as TextClientOptions, aQ as TextCustomerEvent, aR as TextHelpDeskEvent, aS as TextHelpDeskEventBaseFilters, aT as TextHelpDeskEventNames, aU as TextLiveChatEvent, aV as TextLivechatEventNames, aW as TextLivechatProductCardEventType, aX as TextOAuthCredential, aY as UnsubscribeFromBigCommerceEventPayload, aZ as UnsubscribeFromHubspotEventPayload, a_ as UnsubscribeFromMailchimpEventPayload, a$ as UnsubscribeFromShopifyEventPayload, b0 as UnsubscribeFromSlackEventPayload, b1 as UnsubscribeFromTextCustomerEventPayload, b2 as UnsubscribeFromTextHelpDeskEventPayload, b3 as UnsubscribeFromTextLivechatEventPayload, b4 as VercelOauthCredential, b5 as
|
|
8
|
+
import { A as ApiErrorBase, U as UnauthorizeApiError, a as ApiErrorSource, G as GlobalAccountsClientAuthorization, T as TicketPriority, b as TicketStatus, I as IntegrationEventAuthorization, c as IntegrationNames, d as InternalServiceClientAuthorization, e as TextClientAuthorization, f as TextCustomerEventNames, W as WorkflowDto, g as AccountDto, S as SubscribeToIntegrationEventPayload, h as UnsubscribeFromIntegrationEventPayload, i as WorkflowCore, j as ApiPaginatedListQueryParams, k as WorkflowCrmOrganizationsOrderBy, l as WorkflowApiCrmAuthorization, m as ApiPaginatedResult, n as WorkflowCrmOrganization, o as WorkflowCrmWorkflowsOrderBy, p as WorkflowExecutionListItem, q as WorkflowExecution, r as WorkflowIntrospection, s as UpsertWorkflowPayload, t as IntrospectWorkflowTaskPayload, u as WorkflowTaskIntrospectResponse, C as CredentialDto, v as CreateCredentialPayload, w as UpdateCredentialPayload, F as FunctionDto, E as ExternalResourceReference, x as WorkflowTemplateOrderBy, y as WorkflowTemplateListEntry, z as WorkflowTemplate } from './events-DAbR7Qk8.js';
|
|
9
|
+
export { B as ApiError, D as ApiErrorKind, H as ApiErrorName, J as ApiPagination, K as AwaitTaskCallback, L as BigCommerceEvent, M as BigCommerceEventNames, N as BigCommerceOauthCredential, O as Credential, P as CredentialCore, Q as CredentialInjection, R as CredentialStatus, V as CredentialType, X as CredentialTypeDisplayNameMapping, Y as CustomerLeftChatReason, Z as ExternalResourceConfig, _ as ExternalResourceDependency, $ as Filter, a0 as FilterGroup, a1 as FilterOperator, a2 as FilterValue, a3 as Filters, a4 as FunctionSchema, a5 as GitHubAppCredential, a6 as GitHubOauthCredential, a7 as HubSpotOauthCredential, a8 as HubspotEvent, a9 as HubspotEventNames, aa as Identity, ab as IdentityField, ac as IdentitySpec, ad as IntegrationDisplayNameToNameMap, ae as IntegrationDisplayNames, af as IntegrationEvent, ag as IntegrationEventProviderName, ah as IntegrationEventSource, ai as IntegrationEventSourceName, aj as IntegrationKey, ak as IntegrationNameToDisplayMap, al as MailchimpEvent, am as MailchimpEventNames, an as MailchimpOauthCredential, ao as NeonOauthCredential, ap as NetlifyOauthCredential, aq as OAuthCredential, ar as OauthCredentialGrantType, as as OpenaiCredential, at as PlanetScaleOauthCredential, au as SalesforceOauthCredential, av as ShopifyEvent, aw as ShopifyEventNames, ax as ShopifyOauthCredential, ay as SlackEvent, az as SlackEventNames, aA as SlackOauthCredential, aB as SortBy, aC as SortOrder, aD as Sorting, aE as SubscribeToBigCommerceEventPayload, aF as SubscribeToHubspotEventPayload, aG as SubscribeToMailchimpEventPayload, aH as SubscribeToShopifyEventPayload, aI as SubscribeToSlackEventPayload, aJ as SubscribeToTextCustomerEventPayload, aK as SubscribeToTextHelpDeskEventPayload, aL as SubscribeToTextLivechatEventPayload, aM as TRIGGER_REFERENCE_NAME, aN as TextApiError, aO as TextAuthCredential, aP as TextClientOptions, aQ as TextCustomerEvent, aR as TextHelpDeskEvent, aS as TextHelpDeskEventBaseFilters, aT as TextHelpDeskEventNames, aU as TextLiveChatEvent, aV as TextLivechatEventNames, aW as TextLivechatProductCardEventType, aX as TextOAuthCredential, aY as UnsubscribeFromBigCommerceEventPayload, aZ as UnsubscribeFromHubspotEventPayload, a_ as UnsubscribeFromMailchimpEventPayload, a$ as UnsubscribeFromShopifyEventPayload, b0 as UnsubscribeFromSlackEventPayload, b1 as UnsubscribeFromTextCustomerEventPayload, b2 as UnsubscribeFromTextHelpDeskEventPayload, b3 as UnsubscribeFromTextLivechatEventPayload, b4 as VercelOauthCredential, b5 as Workflow, b6 as WorkflowActionTask, b7 as WorkflowActionTaskCore, b8 as WorkflowActionTaskErrorOutput, b9 as WorkflowActionTaskInput, ba as WorkflowActionTaskInputParameters, bb as WorkflowActionTaskSuccessOutput, bc as WorkflowAgentTrigger, bd as WorkflowAgentTriggerCore, be as WorkflowAgentTriggerInput, bf as WorkflowAggregate, bg as WorkflowAwaitTask, bh as WorkflowAwaitTaskCore, bi as WorkflowAwaitTaskInput, bj as WorkflowBranch, bk as WorkflowBundle, bl as WorkflowConditionTask, bm as WorkflowConditionTaskCondition, bn as WorkflowConditionTaskCore, bo as WorkflowConditionTaskFieldType, bp as WorkflowConditionTaskInput, bq as WorkflowConditionTaskLogic, br as WorkflowConditionTaskOperator, bs as WorkflowConditionTaskOperatorGroup, bt as WorkflowConditionTaskOperatorValueType, bu as WorkflowConstructArrayItem, bv as WorkflowConstructObjectField, bw as WorkflowConstructOutputType, bx as WorkflowConstructTask, by as WorkflowConstructTaskCore, bz as WorkflowConstructTaskDefinitionInputParameters, bA as WorkflowConstructTaskInput, bB as WorkflowConstructTaskInputArray, bC as WorkflowConstructTaskInputObject, bD as WorkflowConvertTask, bE as WorkflowConvertTaskCore, bF as WorkflowConvertTaskDefinitionInputParameters, bG as WorkflowConvertTaskInput, bH as WorkflowConvertTaskInputFilter, bI as WorkflowConvertTaskInputJoin, bJ as WorkflowConvertTaskInputLookup, bK as WorkflowConvertTaskInputPickOmit, bL as WorkflowConvertTaskInputPluck, bM as WorkflowConvertTaskInputReducer, bN as WorkflowConvertTaskInputReplace, bO as WorkflowConvertTaskInputSimple, bP as WorkflowConvertTaskInputSort, bQ as WorkflowConvertTaskInputSplit, bR as WorkflowConvertTaskInputSum, bS as WorkflowConvertTaskTransformer, bT as WorkflowCustomTaskName, bU as WorkflowDefinitionDto, bV as WorkflowDoWhileBaseTask, bW as WorkflowDoWhileBaseTaskCore, bX as WorkflowDoWhileBaseTaskInput, bY as WorkflowDoWhileTask, bZ as WorkflowDoWhileTaskCore, b_ as WorkflowElement, b$ as WorkflowElementCore, c0 as WorkflowElementIdentity, c1 as WorkflowElementRef, c2 as WorkflowExecutionActionTaskData, c3 as WorkflowExecutionAwaitTaskData, c4 as WorkflowExecutionChatContext, c5 as WorkflowExecutionConditionTask, c6 as WorkflowExecutionConstructTask, c7 as WorkflowExecutionContext, c8 as WorkflowExecutionConvertTask, c9 as WorkflowExecutionData, ca as WorkflowExecutionDefinitionStatus, cb as WorkflowExecutionDoWhileIterationOutput, cc as WorkflowExecutionDoWhileTaskData, cd as WorkflowExecutionForkJoinTaskData, ce as WorkflowExecutionHttpTaskData, cf as WorkflowExecutionInlineBaseTask, cg as WorkflowExecutionInlineTaskData, ch as WorkflowExecutionJoinTaskData, ci as WorkflowExecutionNotifyAiAgentTaskData, cj as WorkflowExecutionReasoningTaskData, ck as WorkflowExecutionScriptTask, cl as WorkflowExecutionSimpleBaseTaskData, cm as WorkflowExecutionSimpleTaskData, cn as WorkflowExecutionStatus, co as WorkflowExecutionSwitchBaseTask, cp as WorkflowExecutionSwitchCaseTask, cq as WorkflowExecutionSwitchTaskData, cr as WorkflowExecutionTaskBase, cs as WorkflowExecutionTaskData, ct as WorkflowExecutionTaskStatus, cu as WorkflowExecutionTerminateTaskData, cv as WorkflowExecutionTicketContext, cw as WorkflowExecutionTransformBaseTask, cx as WorkflowExecutionTransformTaskData, cy as WorkflowExecutionTriggerData, cz as WorkflowExecutionTriggerDataBase, cA as WorkflowExecutionWaitTaskData, cB as WorkflowForEachTask, cC as WorkflowForEachTaskCore, cD as WorkflowForEachTaskInput, cE as WorkflowForkJoinTask, cF as WorkflowForkJoinTaskCore, cG as WorkflowForkJoinTaskInput, cH as WorkflowFunctionErrorResponseBody, cI as WorkflowGraph, cJ as WorkflowHttpRequest, cK as WorkflowHttpTask, cL as WorkflowHttpTaskCore, cM as WorkflowHttpTaskErrorResponseBody, cN as WorkflowHttpTaskFunctionErrorResponseBody, cO as WorkflowHttpTaskHeaders, cP as WorkflowHttpTaskInput, cQ as WorkflowHttpTaskProviderErrorResponseBody, cR as WorkflowInlineBaseTask, cS as WorkflowInlineBaseTaskCore, cT as WorkflowInlineBaseTaskInput, cU as WorkflowInlineTask, cV as WorkflowInlineTaskCore, cW as WorkflowItemKind, cX as WorkflowJoinTask, cY as WorkflowJoinTaskCore, cZ as WorkflowJoinTaskInput, c_ as WorkflowLoopTask, c$ as WorkflowLoopTaskCore, d0 as WorkflowLoopTaskInput, d1 as WorkflowManualTrigger, d2 as WorkflowManualTriggerCore, d3 as WorkflowManualTriggerInput, d4 as WorkflowManualTriggerParameter, d5 as WorkflowNode, d6 as WorkflowNotifyAiAgentTask, d7 as WorkflowNotifyAiAgentTaskCore, d8 as WorkflowNotifyAiAgentTaskInput, d9 as WorkflowNotifyAiAgentTaskObjectiveInput, da as WorkflowNotifyAiAgentTaskStrictInput, db as WorkflowOneTimeTrigger, dc as WorkflowOneTimeTriggerCore, dd as WorkflowOneTimeTriggerInput, de as WorkflowParentRef, df as WorkflowPlan, dg as WorkflowPlanTask, dh as WorkflowPlanTrigger, di as WorkflowReasoningOption, dj as WorkflowReasoningOptionAgent, dk as WorkflowReasoningOptionCustomer, dl as WorkflowReasoningTask, dm as WorkflowReasoningTaskCore, dn as WorkflowReasoningTaskInput, dp as WorkflowRecurringTrigger, dq as WorkflowRecurringTriggerCore, dr as WorkflowRecurringTriggerInput, ds as WorkflowScriptTask, dt as WorkflowScriptTaskCore, du as WorkflowScriptTaskInput, dv as WorkflowSimpleBaseTask, dw as WorkflowSimpleBaseTaskCore, dx as WorkflowSimpleTask, dy as WorkflowSimpleTaskCore, dz as WorkflowSwitchBaseTask, dA as WorkflowSwitchBaseTaskCore, dB as WorkflowSwitchCaseTask, dC as WorkflowSwitchCaseTaskCore, dD as WorkflowSwitchCaseTaskInput, dE as WorkflowSwitchTask, dF as WorkflowSwitchTaskCore, dG as WorkflowSwitchTaskInput, dH as WorkflowTask, dI as WorkflowTaskBase, dJ as WorkflowTaskCore, dK as WorkflowTaskCoreBase, dL as WorkflowTaskIdentity, dM as WorkflowTaskIntrospection, dN as WorkflowTaskOf, dO as WorkflowTaskType, dP as WorkflowTemplateCategory, dQ as WorkflowTemplateMetadataItem, dR as WorkflowTerminateTask, dS as WorkflowTerminateTaskCore, dT as WorkflowTerminateTaskInput, dU as WorkflowTransformBaseTask, dV as WorkflowTransformBaseTaskCore, dW as WorkflowTransformBaseTaskInput, dX as WorkflowTransformTask, dY as WorkflowTransformTaskCore, dZ as WorkflowTrigger, d_ as WorkflowTriggerBase, d$ as WorkflowTriggerCore, e0 as WorkflowTriggerDto, e1 as WorkflowTriggerIdentity, e2 as WorkflowTriggerOf, e3 as WorkflowTriggerType, e4 as WorkflowWaitTask, e5 as WorkflowWaitTaskCore, e6 as WorkflowWaitTaskInput, e7 as WorkflowWebhook, e8 as WorkflowWebhookManualTrigger, e9 as WorkflowWebhookManualTriggerCore, ea as WorkflowWebhookTrigger, eb as WorkflowWebhookTriggerCore, ec as WorkflowWebhookTriggerPure, ed as bigcommerceEventsZods, ee as getTextClientAuthorization, ef as getTextClientConfig, eg as getWorkflowApiCrmConfig, eh as hubspotEventsZods, ei as initTextClient, ej as integrationEventBase, ek as integrationEventsCoreZods, el as integrationEventsZods, em as isFilter, en as isFilterGroup, eo as mailchimpEventsZods, ep as serializeFilters, eq as shopifyEventsZods, er as slackEventsZods, es as textClientInstance, et as textCustomerEventsZods, eu as textHelpDeskEventsZods, ev as textLivechatEventsZods } from './events-DAbR7Qk8.js';
|
|
10
10
|
import { JSONSchema7 } from 'json-schema';
|
|
11
11
|
|
|
12
12
|
interface GitHubUser {
|
|
@@ -3680,7 +3680,7 @@ interface GetTextPlatformDashboardReportParams {
|
|
|
3680
3680
|
is_source_private?: boolean;
|
|
3681
3681
|
}
|
|
3682
3682
|
|
|
3683
|
-
type ResourcerProvider = 'text/chats' | 'text/customers' | 'text/tickets' | 'mailchimp' | 'salesforce' | 'slack';
|
|
3683
|
+
type ResourcerProvider = 'text/chats' | 'text/customers' | 'text/tickets' | 'klaviyo' | 'mailchimp' | 'salesforce' | 'slack';
|
|
3684
3684
|
interface ResourcerResource {
|
|
3685
3685
|
provider: IntegrationNames | string;
|
|
3686
3686
|
domain?: string | null;
|
|
@@ -3918,27 +3918,27 @@ declare const textEventsZods: {
|
|
|
3918
3918
|
name: z.ZodLiteral<TextCustomerEventNames.PropertiesValuesUpdated>;
|
|
3919
3919
|
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3920
3920
|
id: z.ZodString;
|
|
3921
|
-
to: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]
|
|
3921
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3922
3922
|
}, "strip", z.ZodTypeAny, {
|
|
3923
3923
|
id: string;
|
|
3924
|
-
to?: string | number | boolean | undefined;
|
|
3924
|
+
to?: string | number | boolean | null | undefined;
|
|
3925
3925
|
}, {
|
|
3926
3926
|
id: string;
|
|
3927
|
-
to?: string | number | boolean | undefined;
|
|
3927
|
+
to?: string | number | boolean | null | undefined;
|
|
3928
3928
|
}>, "many">>;
|
|
3929
3929
|
}>, "strip", z.ZodTypeAny, {
|
|
3930
3930
|
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
3931
3931
|
version?: string | undefined;
|
|
3932
3932
|
properties?: {
|
|
3933
3933
|
id: string;
|
|
3934
|
-
to?: string | number | boolean | undefined;
|
|
3934
|
+
to?: string | number | boolean | null | undefined;
|
|
3935
3935
|
}[] | undefined;
|
|
3936
3936
|
}, {
|
|
3937
3937
|
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
3938
3938
|
version?: string | undefined;
|
|
3939
3939
|
properties?: {
|
|
3940
3940
|
id: string;
|
|
3941
|
-
to?: string | number | boolean | undefined;
|
|
3941
|
+
to?: string | number | boolean | null | undefined;
|
|
3942
3942
|
}[] | undefined;
|
|
3943
3943
|
}>]>;
|
|
3944
3944
|
readonly subscribe: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
@@ -3970,27 +3970,27 @@ declare const textEventsZods: {
|
|
|
3970
3970
|
name: z.ZodLiteral<TextCustomerEventNames.PropertiesValuesUpdated>;
|
|
3971
3971
|
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3972
3972
|
id: z.ZodString;
|
|
3973
|
-
to: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]
|
|
3973
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3974
3974
|
}, "strip", z.ZodTypeAny, {
|
|
3975
3975
|
id: string;
|
|
3976
|
-
to?: string | number | boolean | undefined;
|
|
3976
|
+
to?: string | number | boolean | null | undefined;
|
|
3977
3977
|
}, {
|
|
3978
3978
|
id: string;
|
|
3979
|
-
to?: string | number | boolean | undefined;
|
|
3979
|
+
to?: string | number | boolean | null | undefined;
|
|
3980
3980
|
}>, "many">>;
|
|
3981
3981
|
}>, "strip", z.ZodTypeAny, {
|
|
3982
3982
|
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
3983
3983
|
version?: string | undefined;
|
|
3984
3984
|
properties?: {
|
|
3985
3985
|
id: string;
|
|
3986
|
-
to?: string | number | boolean | undefined;
|
|
3986
|
+
to?: string | number | boolean | null | undefined;
|
|
3987
3987
|
}[] | undefined;
|
|
3988
3988
|
}, {
|
|
3989
3989
|
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
3990
3990
|
version?: string | undefined;
|
|
3991
3991
|
properties?: {
|
|
3992
3992
|
id: string;
|
|
3993
|
-
to?: string | number | boolean | undefined;
|
|
3993
|
+
to?: string | number | boolean | null | undefined;
|
|
3994
3994
|
}[] | undefined;
|
|
3995
3995
|
}>]>;
|
|
3996
3996
|
callback: z.ZodString;
|
|
@@ -4004,7 +4004,7 @@ declare const textEventsZods: {
|
|
|
4004
4004
|
version?: string | undefined;
|
|
4005
4005
|
properties?: {
|
|
4006
4006
|
id: string;
|
|
4007
|
-
to?: string | number | boolean | undefined;
|
|
4007
|
+
to?: string | number | boolean | null | undefined;
|
|
4008
4008
|
}[] | undefined;
|
|
4009
4009
|
};
|
|
4010
4010
|
callback: string;
|
|
@@ -4018,7 +4018,7 @@ declare const textEventsZods: {
|
|
|
4018
4018
|
version?: string | undefined;
|
|
4019
4019
|
properties?: {
|
|
4020
4020
|
id: string;
|
|
4021
|
-
to?: string | number | boolean | undefined;
|
|
4021
|
+
to?: string | number | boolean | null | undefined;
|
|
4022
4022
|
}[] | undefined;
|
|
4023
4023
|
};
|
|
4024
4024
|
callback: string;
|
|
@@ -4070,27 +4070,27 @@ declare const textEventsZods: {
|
|
|
4070
4070
|
name: z.ZodLiteral<TextCustomerEventNames.PropertiesValuesUpdated>;
|
|
4071
4071
|
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4072
4072
|
id: z.ZodString;
|
|
4073
|
-
to: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]
|
|
4073
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
4074
4074
|
}, "strip", z.ZodTypeAny, {
|
|
4075
4075
|
id: string;
|
|
4076
|
-
to?: string | number | boolean | undefined;
|
|
4076
|
+
to?: string | number | boolean | null | undefined;
|
|
4077
4077
|
}, {
|
|
4078
4078
|
id: string;
|
|
4079
|
-
to?: string | number | boolean | undefined;
|
|
4079
|
+
to?: string | number | boolean | null | undefined;
|
|
4080
4080
|
}>, "many">>;
|
|
4081
4081
|
}>, "strip", z.ZodTypeAny, {
|
|
4082
4082
|
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4083
4083
|
version?: string | undefined;
|
|
4084
4084
|
properties?: {
|
|
4085
4085
|
id: string;
|
|
4086
|
-
to?: string | number | boolean | undefined;
|
|
4086
|
+
to?: string | number | boolean | null | undefined;
|
|
4087
4087
|
}[] | undefined;
|
|
4088
4088
|
}, {
|
|
4089
4089
|
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4090
4090
|
version?: string | undefined;
|
|
4091
4091
|
properties?: {
|
|
4092
4092
|
id: string;
|
|
4093
|
-
to?: string | number | boolean | undefined;
|
|
4093
|
+
to?: string | number | boolean | null | undefined;
|
|
4094
4094
|
}[] | undefined;
|
|
4095
4095
|
}>]>;
|
|
4096
4096
|
callback: z.ZodString;
|
|
@@ -4104,7 +4104,7 @@ declare const textEventsZods: {
|
|
|
4104
4104
|
version?: string | undefined;
|
|
4105
4105
|
properties?: {
|
|
4106
4106
|
id: string;
|
|
4107
|
-
to?: string | number | boolean | undefined;
|
|
4107
|
+
to?: string | number | boolean | null | undefined;
|
|
4108
4108
|
}[] | undefined;
|
|
4109
4109
|
};
|
|
4110
4110
|
callback: string;
|
|
@@ -4119,7 +4119,7 @@ declare const textEventsZods: {
|
|
|
4119
4119
|
version?: string | undefined;
|
|
4120
4120
|
properties?: {
|
|
4121
4121
|
id: string;
|
|
4122
|
-
to?: string | number | boolean | undefined;
|
|
4122
|
+
to?: string | number | boolean | null | undefined;
|
|
4123
4123
|
}[] | undefined;
|
|
4124
4124
|
};
|
|
4125
4125
|
callback: string;
|
|
@@ -4154,27 +4154,27 @@ declare const textEventsZods: {
|
|
|
4154
4154
|
name: z.ZodLiteral<TextCustomerEventNames.PropertiesValuesUpdated>;
|
|
4155
4155
|
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4156
4156
|
id: z.ZodString;
|
|
4157
|
-
to: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]
|
|
4157
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
4158
4158
|
}, "strip", z.ZodTypeAny, {
|
|
4159
4159
|
id: string;
|
|
4160
|
-
to?: string | number | boolean | undefined;
|
|
4160
|
+
to?: string | number | boolean | null | undefined;
|
|
4161
4161
|
}, {
|
|
4162
4162
|
id: string;
|
|
4163
|
-
to?: string | number | boolean | undefined;
|
|
4163
|
+
to?: string | number | boolean | null | undefined;
|
|
4164
4164
|
}>, "many">>;
|
|
4165
4165
|
}>, "strip", z.ZodTypeAny, {
|
|
4166
4166
|
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4167
4167
|
version?: string | undefined;
|
|
4168
4168
|
properties?: {
|
|
4169
4169
|
id: string;
|
|
4170
|
-
to?: string | number | boolean | undefined;
|
|
4170
|
+
to?: string | number | boolean | null | undefined;
|
|
4171
4171
|
}[] | undefined;
|
|
4172
4172
|
}, {
|
|
4173
4173
|
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4174
4174
|
version?: string | undefined;
|
|
4175
4175
|
properties?: {
|
|
4176
4176
|
id: string;
|
|
4177
|
-
to?: string | number | boolean | undefined;
|
|
4177
|
+
to?: string | number | boolean | null | undefined;
|
|
4178
4178
|
}[] | undefined;
|
|
4179
4179
|
}>]>;
|
|
4180
4180
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4187,7 +4187,7 @@ declare const textEventsZods: {
|
|
|
4187
4187
|
version?: string | undefined;
|
|
4188
4188
|
properties?: {
|
|
4189
4189
|
id: string;
|
|
4190
|
-
to?: string | number | boolean | undefined;
|
|
4190
|
+
to?: string | number | boolean | null | undefined;
|
|
4191
4191
|
}[] | undefined;
|
|
4192
4192
|
};
|
|
4193
4193
|
}, {
|
|
@@ -4200,7 +4200,7 @@ declare const textEventsZods: {
|
|
|
4200
4200
|
version?: string | undefined;
|
|
4201
4201
|
properties?: {
|
|
4202
4202
|
id: string;
|
|
4203
|
-
to?: string | number | boolean | undefined;
|
|
4203
|
+
to?: string | number | boolean | null | undefined;
|
|
4204
4204
|
}[] | undefined;
|
|
4205
4205
|
};
|
|
4206
4206
|
}>>, z.ZodObject<{
|
|
@@ -4251,27 +4251,27 @@ declare const textEventsZods: {
|
|
|
4251
4251
|
name: z.ZodLiteral<TextCustomerEventNames.PropertiesValuesUpdated>;
|
|
4252
4252
|
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4253
4253
|
id: z.ZodString;
|
|
4254
|
-
to: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]
|
|
4254
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
4255
4255
|
}, "strip", z.ZodTypeAny, {
|
|
4256
4256
|
id: string;
|
|
4257
|
-
to?: string | number | boolean | undefined;
|
|
4257
|
+
to?: string | number | boolean | null | undefined;
|
|
4258
4258
|
}, {
|
|
4259
4259
|
id: string;
|
|
4260
|
-
to?: string | number | boolean | undefined;
|
|
4260
|
+
to?: string | number | boolean | null | undefined;
|
|
4261
4261
|
}>, "many">>;
|
|
4262
4262
|
}>, "strip", z.ZodTypeAny, {
|
|
4263
4263
|
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4264
4264
|
version?: string | undefined;
|
|
4265
4265
|
properties?: {
|
|
4266
4266
|
id: string;
|
|
4267
|
-
to?: string | number | boolean | undefined;
|
|
4267
|
+
to?: string | number | boolean | null | undefined;
|
|
4268
4268
|
}[] | undefined;
|
|
4269
4269
|
}, {
|
|
4270
4270
|
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4271
4271
|
version?: string | undefined;
|
|
4272
4272
|
properties?: {
|
|
4273
4273
|
id: string;
|
|
4274
|
-
to?: string | number | boolean | undefined;
|
|
4274
|
+
to?: string | number | boolean | null | undefined;
|
|
4275
4275
|
}[] | undefined;
|
|
4276
4276
|
}>]>;
|
|
4277
4277
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4284,7 +4284,7 @@ declare const textEventsZods: {
|
|
|
4284
4284
|
version?: string | undefined;
|
|
4285
4285
|
properties?: {
|
|
4286
4286
|
id: string;
|
|
4287
|
-
to?: string | number | boolean | undefined;
|
|
4287
|
+
to?: string | number | boolean | null | undefined;
|
|
4288
4288
|
}[] | undefined;
|
|
4289
4289
|
};
|
|
4290
4290
|
provider: IntegrationNames.Text;
|
|
@@ -4298,7 +4298,7 @@ declare const textEventsZods: {
|
|
|
4298
4298
|
version?: string | undefined;
|
|
4299
4299
|
properties?: {
|
|
4300
4300
|
id: string;
|
|
4301
|
-
to?: string | number | boolean | undefined;
|
|
4301
|
+
to?: string | number | boolean | null | undefined;
|
|
4302
4302
|
}[] | undefined;
|
|
4303
4303
|
};
|
|
4304
4304
|
provider: IntegrationNames.Text;
|
|
@@ -5419,6 +5419,13 @@ declare const api: {
|
|
|
5419
5419
|
email: string;
|
|
5420
5420
|
}>;
|
|
5421
5421
|
};
|
|
5422
|
+
klaviyo: {
|
|
5423
|
+
getAccount({ token }: {
|
|
5424
|
+
token: string;
|
|
5425
|
+
}): Promise<{
|
|
5426
|
+
email: string | undefined;
|
|
5427
|
+
}>;
|
|
5428
|
+
};
|
|
5422
5429
|
};
|
|
5423
5430
|
isInitialized: boolean;
|
|
5424
5431
|
};
|