@livechat/developer-studio-api 3.4.4 → 3.4.6
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.d.mts +1034 -243
- package/dist/index.d.ts +1034 -243
- package/dist/index.js +351 -160
- package/dist/index.mjs +344 -160
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -655,7 +655,7 @@ interface GenerateResponseResponse {
|
|
|
655
655
|
response: string;
|
|
656
656
|
}
|
|
657
657
|
|
|
658
|
-
type ApiErrorName = "adapter" | "accounts" | "livechat" | "dps" | "github" | "vercel" | "netlify" | "planetscale" | "neon" | "mailchimp" | "shopify" | "hubspot" | "bigcommerce" | "text";
|
|
658
|
+
type ApiErrorName = "adapter" | "accounts" | "livechat" | "helpdesk" | "dps" | "github" | "vercel" | "netlify" | "planetscale" | "neon" | "mailchimp" | "shopify" | "hubspot" | "bigcommerce" | "text";
|
|
659
659
|
type ApiErrorSource = "accounts" | "github" | "vercel" | "netlify" | "planetscale" | "neon" | "mailchimp" | "shopify" | "hubspot" | "bigcommerce" | "text";
|
|
660
660
|
type ApiErrorKind = "unauthorized" | "error";
|
|
661
661
|
type ApiError<TData = unknown> = {
|
|
@@ -1999,6 +1999,28 @@ interface AppTemplates {
|
|
|
1999
1999
|
saas: AppTemplate;
|
|
2000
2000
|
}
|
|
2001
2001
|
|
|
2002
|
+
declare enum IntegrationModes {
|
|
2003
|
+
Redirect = "redirect",
|
|
2004
|
+
Modal = "modal"
|
|
2005
|
+
}
|
|
2006
|
+
type IntegrationFlowContext = {
|
|
2007
|
+
state: string;
|
|
2008
|
+
} & ({
|
|
2009
|
+
mode: IntegrationModes.Modal;
|
|
2010
|
+
} | {
|
|
2011
|
+
mode: IntegrationModes.Redirect;
|
|
2012
|
+
redirectUrl: string;
|
|
2013
|
+
});
|
|
2014
|
+
type IntegrationFlowOutput<TFlowResult> = {
|
|
2015
|
+
status: "success";
|
|
2016
|
+
result: TFlowResult;
|
|
2017
|
+
} | {
|
|
2018
|
+
status: "error";
|
|
2019
|
+
message: string;
|
|
2020
|
+
} | {
|
|
2021
|
+
status: "cancel";
|
|
2022
|
+
};
|
|
2023
|
+
|
|
2002
2024
|
declare enum IntegrationNames {
|
|
2003
2025
|
Accounts = "accounts",
|
|
2004
2026
|
GitHub = "github",
|
|
@@ -2010,8 +2032,10 @@ declare enum IntegrationNames {
|
|
|
2010
2032
|
Shopify = "shopify",
|
|
2011
2033
|
HubSpot = "hubspot",
|
|
2012
2034
|
BigCommerce = "bigcommerce",
|
|
2035
|
+
OpenAI = "openai",
|
|
2013
2036
|
Text = "text",
|
|
2014
|
-
|
|
2037
|
+
LiveChat = "text-livechat",
|
|
2038
|
+
HelpDesk = "text-helpdesk"
|
|
2015
2039
|
}
|
|
2016
2040
|
declare enum IntegrationDisplayNames {
|
|
2017
2041
|
Accounts = "Accounts",
|
|
@@ -2024,30 +2048,11 @@ declare enum IntegrationDisplayNames {
|
|
|
2024
2048
|
Shopify = "Shopify",
|
|
2025
2049
|
HubSpot = "Hubspot",
|
|
2026
2050
|
BigCommerce = "BigCommerce",
|
|
2051
|
+
OpenAI = "OpenAI",
|
|
2027
2052
|
Text = "Text",
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
declare enum IntegrationModes {
|
|
2031
|
-
Redirect = "redirect",
|
|
2032
|
-
Modal = "modal"
|
|
2053
|
+
LiveChat = "LiveChat",
|
|
2054
|
+
HelpDesk = "HelpDesk"
|
|
2033
2055
|
}
|
|
2034
|
-
type IntegrationFlowContext = {
|
|
2035
|
-
state: string;
|
|
2036
|
-
} & ({
|
|
2037
|
-
mode: IntegrationModes.Modal;
|
|
2038
|
-
} | {
|
|
2039
|
-
mode: IntegrationModes.Redirect;
|
|
2040
|
-
redirectUrl: string;
|
|
2041
|
-
});
|
|
2042
|
-
type IntegrationFlowOutput<TFlowResult> = {
|
|
2043
|
-
status: "success";
|
|
2044
|
-
result: TFlowResult;
|
|
2045
|
-
} | {
|
|
2046
|
-
status: "error";
|
|
2047
|
-
message: string;
|
|
2048
|
-
} | {
|
|
2049
|
-
status: "cancel";
|
|
2050
|
-
};
|
|
2051
2056
|
|
|
2052
2057
|
interface BigCommerceAuthorizeActionContext {
|
|
2053
2058
|
shop: string;
|
|
@@ -2079,9 +2084,8 @@ declare enum BigCommerceEventNames {
|
|
|
2079
2084
|
ProductCreated = "product_created",
|
|
2080
2085
|
ProductUpdated = "product_updated"
|
|
2081
2086
|
}
|
|
2082
|
-
|
|
2083
2087
|
declare const bigcommerceEventsZods: {
|
|
2084
|
-
provider: z.ZodLiteral<
|
|
2088
|
+
provider: z.ZodLiteral<IntegrationNames.BigCommerce>;
|
|
2085
2089
|
eventName: z.ZodNativeEnum<typeof BigCommerceEventNames>;
|
|
2086
2090
|
events: {
|
|
2087
2091
|
cartCreated: z.ZodObject<{
|
|
@@ -2254,7 +2258,7 @@ declare const bigcommerceEventsZods: {
|
|
|
2254
2258
|
callback: string;
|
|
2255
2259
|
}>>;
|
|
2256
2260
|
readonly subscribeContent: z.ZodObject<{
|
|
2257
|
-
provider: z.ZodLiteral<
|
|
2261
|
+
provider: z.ZodLiteral<IntegrationNames.BigCommerce>;
|
|
2258
2262
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2259
2263
|
name: z.ZodLiteral<BigCommerceEventNames.CartCreated>;
|
|
2260
2264
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2308,7 +2312,7 @@ declare const bigcommerceEventsZods: {
|
|
|
2308
2312
|
name: BigCommerceEventNames.ProductUpdated;
|
|
2309
2313
|
};
|
|
2310
2314
|
callback: string;
|
|
2311
|
-
provider:
|
|
2315
|
+
provider: IntegrationNames.BigCommerce;
|
|
2312
2316
|
}, {
|
|
2313
2317
|
event: {
|
|
2314
2318
|
name: BigCommerceEventNames.CartCreated;
|
|
@@ -2324,7 +2328,7 @@ declare const bigcommerceEventsZods: {
|
|
|
2324
2328
|
name: BigCommerceEventNames.ProductUpdated;
|
|
2325
2329
|
};
|
|
2326
2330
|
callback: string;
|
|
2327
|
-
provider:
|
|
2331
|
+
provider: IntegrationNames.BigCommerce;
|
|
2328
2332
|
}>;
|
|
2329
2333
|
readonly unsubscribe: z.ZodIntersection<z.ZodObject<{
|
|
2330
2334
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
@@ -2403,7 +2407,7 @@ declare const bigcommerceEventsZods: {
|
|
|
2403
2407
|
};
|
|
2404
2408
|
}>>;
|
|
2405
2409
|
readonly unsubscribeContent: z.ZodObject<{
|
|
2406
|
-
provider: z.ZodLiteral<
|
|
2410
|
+
provider: z.ZodLiteral<IntegrationNames.BigCommerce>;
|
|
2407
2411
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2408
2412
|
name: z.ZodLiteral<BigCommerceEventNames.CartCreated>;
|
|
2409
2413
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2455,7 +2459,7 @@ declare const bigcommerceEventsZods: {
|
|
|
2455
2459
|
} | {
|
|
2456
2460
|
name: BigCommerceEventNames.ProductUpdated;
|
|
2457
2461
|
};
|
|
2458
|
-
provider:
|
|
2462
|
+
provider: IntegrationNames.BigCommerce;
|
|
2459
2463
|
}, {
|
|
2460
2464
|
event: {
|
|
2461
2465
|
name: BigCommerceEventNames.CartCreated;
|
|
@@ -2470,7 +2474,7 @@ declare const bigcommerceEventsZods: {
|
|
|
2470
2474
|
} | {
|
|
2471
2475
|
name: BigCommerceEventNames.ProductUpdated;
|
|
2472
2476
|
};
|
|
2473
|
-
provider:
|
|
2477
|
+
provider: IntegrationNames.BigCommerce;
|
|
2474
2478
|
}>;
|
|
2475
2479
|
};
|
|
2476
2480
|
type BigCommerceEvent = z.infer<typeof bigcommerceEventsZods.event>;
|
|
@@ -2496,9 +2500,8 @@ declare enum HubspotEventNames {
|
|
|
2496
2500
|
ContactCreated = "contact_created",
|
|
2497
2501
|
ContactDeleted = "contact_deleted"
|
|
2498
2502
|
}
|
|
2499
|
-
|
|
2500
2503
|
declare const hubspotEventsZods: {
|
|
2501
|
-
provider: z.ZodLiteral<
|
|
2504
|
+
provider: z.ZodLiteral<IntegrationNames.HubSpot>;
|
|
2502
2505
|
eventName: z.ZodNativeEnum<typeof HubspotEventNames>;
|
|
2503
2506
|
events: {
|
|
2504
2507
|
contactCreated: z.ZodObject<{
|
|
@@ -2579,7 +2582,7 @@ declare const hubspotEventsZods: {
|
|
|
2579
2582
|
callback: string;
|
|
2580
2583
|
}>>;
|
|
2581
2584
|
readonly subscribeContent: z.ZodObject<{
|
|
2582
|
-
provider: z.ZodLiteral<
|
|
2585
|
+
provider: z.ZodLiteral<IntegrationNames.HubSpot>;
|
|
2583
2586
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2584
2587
|
name: z.ZodLiteral<HubspotEventNames.ContactCreated>;
|
|
2585
2588
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2601,7 +2604,7 @@ declare const hubspotEventsZods: {
|
|
|
2601
2604
|
name: HubspotEventNames.ContactDeleted;
|
|
2602
2605
|
};
|
|
2603
2606
|
callback: string;
|
|
2604
|
-
provider:
|
|
2607
|
+
provider: IntegrationNames.HubSpot;
|
|
2605
2608
|
}, {
|
|
2606
2609
|
event: {
|
|
2607
2610
|
name: HubspotEventNames.ContactCreated;
|
|
@@ -2609,7 +2612,7 @@ declare const hubspotEventsZods: {
|
|
|
2609
2612
|
name: HubspotEventNames.ContactDeleted;
|
|
2610
2613
|
};
|
|
2611
2614
|
callback: string;
|
|
2612
|
-
provider:
|
|
2615
|
+
provider: IntegrationNames.HubSpot;
|
|
2613
2616
|
}>;
|
|
2614
2617
|
readonly unsubscribe: z.ZodIntersection<z.ZodObject<{
|
|
2615
2618
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
@@ -2648,7 +2651,7 @@ declare const hubspotEventsZods: {
|
|
|
2648
2651
|
};
|
|
2649
2652
|
}>>;
|
|
2650
2653
|
readonly unsubscribeContent: z.ZodObject<{
|
|
2651
|
-
provider: z.ZodLiteral<
|
|
2654
|
+
provider: z.ZodLiteral<IntegrationNames.HubSpot>;
|
|
2652
2655
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2653
2656
|
name: z.ZodLiteral<HubspotEventNames.ContactCreated>;
|
|
2654
2657
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2668,14 +2671,14 @@ declare const hubspotEventsZods: {
|
|
|
2668
2671
|
} | {
|
|
2669
2672
|
name: HubspotEventNames.ContactDeleted;
|
|
2670
2673
|
};
|
|
2671
|
-
provider:
|
|
2674
|
+
provider: IntegrationNames.HubSpot;
|
|
2672
2675
|
}, {
|
|
2673
2676
|
event: {
|
|
2674
2677
|
name: HubspotEventNames.ContactCreated;
|
|
2675
2678
|
} | {
|
|
2676
2679
|
name: HubspotEventNames.ContactDeleted;
|
|
2677
2680
|
};
|
|
2678
|
-
provider:
|
|
2681
|
+
provider: IntegrationNames.HubSpot;
|
|
2679
2682
|
}>;
|
|
2680
2683
|
};
|
|
2681
2684
|
type HubspotEvent = z.infer<typeof hubspotEventsZods.event>;
|
|
@@ -2703,9 +2706,8 @@ declare enum MailchimpEventNames {
|
|
|
2703
2706
|
Subscribed = "subscribed",
|
|
2704
2707
|
Unsubscribed = "unsubscribed"
|
|
2705
2708
|
}
|
|
2706
|
-
|
|
2707
2709
|
declare const mailchimpEventsZods: {
|
|
2708
|
-
provider: z.ZodLiteral<
|
|
2710
|
+
provider: z.ZodLiteral<IntegrationNames.Mailchimp>;
|
|
2709
2711
|
eventName: z.ZodNativeEnum<typeof MailchimpEventNames>;
|
|
2710
2712
|
events: {
|
|
2711
2713
|
subscribed: z.ZodObject<{
|
|
@@ -2808,7 +2810,7 @@ declare const mailchimpEventsZods: {
|
|
|
2808
2810
|
callback: string;
|
|
2809
2811
|
}>>;
|
|
2810
2812
|
readonly subscribeContent: z.ZodObject<{
|
|
2811
|
-
provider: z.ZodLiteral<
|
|
2813
|
+
provider: z.ZodLiteral<IntegrationNames.Mailchimp>;
|
|
2812
2814
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2813
2815
|
listId: z.ZodString;
|
|
2814
2816
|
name: z.ZodLiteral<MailchimpEventNames.Subscribed>;
|
|
@@ -2838,7 +2840,7 @@ declare const mailchimpEventsZods: {
|
|
|
2838
2840
|
listId: string;
|
|
2839
2841
|
};
|
|
2840
2842
|
callback: string;
|
|
2841
|
-
provider:
|
|
2843
|
+
provider: IntegrationNames.Mailchimp;
|
|
2842
2844
|
}, {
|
|
2843
2845
|
event: {
|
|
2844
2846
|
name: MailchimpEventNames.Subscribed;
|
|
@@ -2848,7 +2850,7 @@ declare const mailchimpEventsZods: {
|
|
|
2848
2850
|
listId: string;
|
|
2849
2851
|
};
|
|
2850
2852
|
callback: string;
|
|
2851
|
-
provider:
|
|
2853
|
+
provider: IntegrationNames.Mailchimp;
|
|
2852
2854
|
}>;
|
|
2853
2855
|
readonly unsubscribe: z.ZodIntersection<z.ZodObject<{
|
|
2854
2856
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
@@ -2897,7 +2899,7 @@ declare const mailchimpEventsZods: {
|
|
|
2897
2899
|
};
|
|
2898
2900
|
}>>;
|
|
2899
2901
|
readonly unsubscribeContent: z.ZodObject<{
|
|
2900
|
-
provider: z.ZodLiteral<
|
|
2902
|
+
provider: z.ZodLiteral<IntegrationNames.Mailchimp>;
|
|
2901
2903
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2902
2904
|
listId: z.ZodString;
|
|
2903
2905
|
name: z.ZodLiteral<MailchimpEventNames.Subscribed>;
|
|
@@ -2925,7 +2927,7 @@ declare const mailchimpEventsZods: {
|
|
|
2925
2927
|
name: MailchimpEventNames.Unsubscribed;
|
|
2926
2928
|
listId: string;
|
|
2927
2929
|
};
|
|
2928
|
-
provider:
|
|
2930
|
+
provider: IntegrationNames.Mailchimp;
|
|
2929
2931
|
}, {
|
|
2930
2932
|
event: {
|
|
2931
2933
|
name: MailchimpEventNames.Subscribed;
|
|
@@ -2934,17 +2936,13 @@ declare const mailchimpEventsZods: {
|
|
|
2934
2936
|
name: MailchimpEventNames.Unsubscribed;
|
|
2935
2937
|
listId: string;
|
|
2936
2938
|
};
|
|
2937
|
-
provider:
|
|
2939
|
+
provider: IntegrationNames.Mailchimp;
|
|
2938
2940
|
}>;
|
|
2939
2941
|
};
|
|
2940
2942
|
type MailchimpEvent = z.infer<typeof mailchimpEventsZods.event>;
|
|
2941
2943
|
type SubscribeToMailchimpEventPayload = z.infer<typeof mailchimpEventsZods.subscribe>;
|
|
2942
2944
|
type UnsubscribeFromMailchimpEventPayload = z.infer<typeof mailchimpEventsZods.unsubscribe>;
|
|
2943
2945
|
|
|
2944
|
-
declare enum ShopifyEventNames {
|
|
2945
|
-
OrderCreated = "order_created"
|
|
2946
|
-
}
|
|
2947
|
-
|
|
2948
2946
|
interface ShopifyAuthorizeActionContext {
|
|
2949
2947
|
shop: string;
|
|
2950
2948
|
}
|
|
@@ -2967,8 +2965,11 @@ type ShopifyFlows = "authorize";
|
|
|
2967
2965
|
type ShopifyFlowContext<TAction extends ShopifyFlows> = TAction extends "authorize" ? ShopifyAuthorizeFlowCustomContext : never;
|
|
2968
2966
|
type ShopifyFlowResult<TAction extends ShopifyFlows> = TAction extends "authorize" ? ShopifyAuthorizeFlowResult : never;
|
|
2969
2967
|
|
|
2968
|
+
declare enum ShopifyEventNames {
|
|
2969
|
+
OrderCreated = "order_created"
|
|
2970
|
+
}
|
|
2970
2971
|
declare const shopifyEventsZods: {
|
|
2971
|
-
provider: z.ZodLiteral<
|
|
2972
|
+
provider: z.ZodLiteral<IntegrationNames.Shopify>;
|
|
2972
2973
|
eventName: z.ZodNativeEnum<typeof ShopifyEventNames>;
|
|
2973
2974
|
events: {
|
|
2974
2975
|
orderCreated: z.ZodObject<{
|
|
@@ -3026,7 +3027,7 @@ declare const shopifyEventsZods: {
|
|
|
3026
3027
|
callback: string;
|
|
3027
3028
|
}>>;
|
|
3028
3029
|
readonly subscribeContent: z.ZodObject<{
|
|
3029
|
-
provider: z.ZodLiteral<
|
|
3030
|
+
provider: z.ZodLiteral<IntegrationNames.Shopify>;
|
|
3030
3031
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
3031
3032
|
name: z.ZodLiteral<ShopifyEventNames>;
|
|
3032
3033
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3040,13 +3041,13 @@ declare const shopifyEventsZods: {
|
|
|
3040
3041
|
name: ShopifyEventNames;
|
|
3041
3042
|
};
|
|
3042
3043
|
callback: string;
|
|
3043
|
-
provider:
|
|
3044
|
+
provider: IntegrationNames.Shopify;
|
|
3044
3045
|
}, {
|
|
3045
3046
|
event: {
|
|
3046
3047
|
name: ShopifyEventNames;
|
|
3047
3048
|
};
|
|
3048
3049
|
callback: string;
|
|
3049
|
-
provider:
|
|
3050
|
+
provider: IntegrationNames.Shopify;
|
|
3050
3051
|
}>;
|
|
3051
3052
|
readonly unsubscribe: z.ZodIntersection<z.ZodObject<{
|
|
3052
3053
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
@@ -3075,7 +3076,7 @@ declare const shopifyEventsZods: {
|
|
|
3075
3076
|
};
|
|
3076
3077
|
}>>;
|
|
3077
3078
|
readonly unsubscribeContent: z.ZodObject<{
|
|
3078
|
-
provider: z.ZodLiteral<
|
|
3079
|
+
provider: z.ZodLiteral<IntegrationNames.Shopify>;
|
|
3079
3080
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
3080
3081
|
name: z.ZodLiteral<ShopifyEventNames>;
|
|
3081
3082
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3087,30 +3088,18 @@ declare const shopifyEventsZods: {
|
|
|
3087
3088
|
event: {
|
|
3088
3089
|
name: ShopifyEventNames;
|
|
3089
3090
|
};
|
|
3090
|
-
provider:
|
|
3091
|
+
provider: IntegrationNames.Shopify;
|
|
3091
3092
|
}, {
|
|
3092
3093
|
event: {
|
|
3093
3094
|
name: ShopifyEventNames;
|
|
3094
3095
|
};
|
|
3095
|
-
provider:
|
|
3096
|
+
provider: IntegrationNames.Shopify;
|
|
3096
3097
|
}>;
|
|
3097
3098
|
};
|
|
3098
3099
|
type ShopifyEvent = z.infer<typeof shopifyEventsZods.event>;
|
|
3099
3100
|
type SubscribeToShopifyEventPayload = z.infer<typeof shopifyEventsZods.subscribe>;
|
|
3100
3101
|
type UnsubscribeFromShopifyEventPayload = z.infer<typeof shopifyEventsZods.unsubscribe>;
|
|
3101
3102
|
|
|
3102
|
-
declare enum TextLivechatEventNames {
|
|
3103
|
-
ChatStarted = "chat_started",
|
|
3104
|
-
ChatEnded = "chat_ended",
|
|
3105
|
-
ChatTransferred = "chat_transferred",
|
|
3106
|
-
ChatTagged = "chat_tagged",
|
|
3107
|
-
ChatRated = "chat_rated",
|
|
3108
|
-
ChatCommented = "chat_commented",
|
|
3109
|
-
ChatMessage = "chat_message",
|
|
3110
|
-
UserAddedToChat = "user_added_to_chat",
|
|
3111
|
-
UserRemovedFromChat = "user_removed_from_chat"
|
|
3112
|
-
}
|
|
3113
|
-
|
|
3114
3103
|
interface TextAuthorizeActionResult {
|
|
3115
3104
|
token: string;
|
|
3116
3105
|
}
|
|
@@ -3126,8 +3115,19 @@ type TextFlows = "authorize";
|
|
|
3126
3115
|
type TextFlowContext<TAction extends TextFlows> = TAction extends "authorize" ? TextAuthorizeFlowCustomContext : never;
|
|
3127
3116
|
type TextFlowResult<TAction extends TextFlows> = TAction extends "authorize" ? TextAuthorizeFlowResult : never;
|
|
3128
3117
|
|
|
3118
|
+
declare enum TextLivechatEventNames {
|
|
3119
|
+
ChatStarted = "chat_started",
|
|
3120
|
+
ChatEnded = "chat_ended",
|
|
3121
|
+
ChatTransferred = "chat_transferred",
|
|
3122
|
+
ChatTagged = "chat_tagged",
|
|
3123
|
+
ChatRated = "chat_rated",
|
|
3124
|
+
ChatCommented = "chat_commented",
|
|
3125
|
+
ChatMessage = "chat_message",
|
|
3126
|
+
UserAddedToChat = "user_added_to_chat",
|
|
3127
|
+
UserRemovedFromChat = "user_removed_from_chat"
|
|
3128
|
+
}
|
|
3129
3129
|
declare const textLivechatEventsZods: {
|
|
3130
|
-
provider: z.ZodLiteral<
|
|
3130
|
+
provider: z.ZodLiteral<IntegrationNames.LiveChat>;
|
|
3131
3131
|
eventName: z.ZodNativeEnum<typeof TextLivechatEventNames>;
|
|
3132
3132
|
events: {
|
|
3133
3133
|
chatStarted: z.ZodObject<{
|
|
@@ -3424,7 +3424,7 @@ declare const textLivechatEventsZods: {
|
|
|
3424
3424
|
callback: string;
|
|
3425
3425
|
}>>;
|
|
3426
3426
|
readonly subscribeContent: z.ZodObject<{
|
|
3427
|
-
provider: z.ZodLiteral<
|
|
3427
|
+
provider: z.ZodLiteral<IntegrationNames.LiveChat>;
|
|
3428
3428
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
3429
3429
|
name: z.ZodLiteral<TextLivechatEventNames.ChatStarted>;
|
|
3430
3430
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3522,7 +3522,7 @@ declare const textLivechatEventsZods: {
|
|
|
3522
3522
|
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
3523
3523
|
};
|
|
3524
3524
|
callback: string;
|
|
3525
|
-
provider:
|
|
3525
|
+
provider: IntegrationNames.LiveChat;
|
|
3526
3526
|
}, {
|
|
3527
3527
|
event: {
|
|
3528
3528
|
name: TextLivechatEventNames.ChatStarted;
|
|
@@ -3549,7 +3549,7 @@ declare const textLivechatEventsZods: {
|
|
|
3549
3549
|
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
3550
3550
|
};
|
|
3551
3551
|
callback: string;
|
|
3552
|
-
provider:
|
|
3552
|
+
provider: IntegrationNames.LiveChat;
|
|
3553
3553
|
}>;
|
|
3554
3554
|
readonly unsubscribe: z.ZodIntersection<z.ZodObject<{
|
|
3555
3555
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
@@ -3676,146 +3676,659 @@ declare const textLivechatEventsZods: {
|
|
|
3676
3676
|
name: TextLivechatEventNames.ChatMessage;
|
|
3677
3677
|
filter?: string | undefined;
|
|
3678
3678
|
} | {
|
|
3679
|
-
name: TextLivechatEventNames.UserAddedToChat;
|
|
3680
|
-
userType?: "agent" | "customer" | undefined;
|
|
3679
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
3680
|
+
userType?: "agent" | "customer" | undefined;
|
|
3681
|
+
} | {
|
|
3682
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
3683
|
+
};
|
|
3684
|
+
}>>;
|
|
3685
|
+
readonly unsubscribeContent: z.ZodObject<{
|
|
3686
|
+
provider: z.ZodLiteral<IntegrationNames.LiveChat>;
|
|
3687
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
3688
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatStarted>;
|
|
3689
|
+
}, "strip", z.ZodTypeAny, {
|
|
3690
|
+
name: TextLivechatEventNames.ChatStarted;
|
|
3691
|
+
}, {
|
|
3692
|
+
name: TextLivechatEventNames.ChatStarted;
|
|
3693
|
+
}>, z.ZodObject<{
|
|
3694
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatEnded>;
|
|
3695
|
+
}, "strip", z.ZodTypeAny, {
|
|
3696
|
+
name: TextLivechatEventNames.ChatEnded;
|
|
3697
|
+
}, {
|
|
3698
|
+
name: TextLivechatEventNames.ChatEnded;
|
|
3699
|
+
}>, z.ZodObject<{
|
|
3700
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatTransferred>;
|
|
3701
|
+
}, "strip", z.ZodTypeAny, {
|
|
3702
|
+
name: TextLivechatEventNames.ChatTransferred;
|
|
3703
|
+
}, {
|
|
3704
|
+
name: TextLivechatEventNames.ChatTransferred;
|
|
3705
|
+
}>, z.ZodObject<{
|
|
3706
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatTagged>;
|
|
3707
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
3708
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
3709
|
+
}, "strip", z.ZodTypeAny, {
|
|
3710
|
+
name: TextLivechatEventNames.ChatTagged;
|
|
3711
|
+
exact?: boolean | undefined;
|
|
3712
|
+
tag?: string | undefined;
|
|
3713
|
+
}, {
|
|
3714
|
+
name: TextLivechatEventNames.ChatTagged;
|
|
3715
|
+
exact?: boolean | undefined;
|
|
3716
|
+
tag?: string | undefined;
|
|
3717
|
+
}>, z.ZodObject<{
|
|
3718
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
3719
|
+
rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
|
|
3720
|
+
}, "strip", z.ZodTypeAny, {
|
|
3721
|
+
name: TextLivechatEventNames.ChatRated;
|
|
3722
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3723
|
+
}, {
|
|
3724
|
+
name: TextLivechatEventNames.ChatRated;
|
|
3725
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3726
|
+
}>, z.ZodObject<{
|
|
3727
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
3728
|
+
}, "strip", z.ZodTypeAny, {
|
|
3729
|
+
name: TextLivechatEventNames.ChatCommented;
|
|
3730
|
+
}, {
|
|
3731
|
+
name: TextLivechatEventNames.ChatCommented;
|
|
3732
|
+
}>, z.ZodObject<{
|
|
3733
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatMessage>;
|
|
3734
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
3735
|
+
}, "strip", z.ZodTypeAny, {
|
|
3736
|
+
name: TextLivechatEventNames.ChatMessage;
|
|
3737
|
+
filter?: string | undefined;
|
|
3738
|
+
}, {
|
|
3739
|
+
name: TextLivechatEventNames.ChatMessage;
|
|
3740
|
+
filter?: string | undefined;
|
|
3741
|
+
}>, z.ZodObject<{
|
|
3742
|
+
name: z.ZodLiteral<TextLivechatEventNames.UserAddedToChat>;
|
|
3743
|
+
userType: z.ZodOptional<z.ZodEnum<["agent", "customer"]>>;
|
|
3744
|
+
}, "strip", z.ZodTypeAny, {
|
|
3745
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
3746
|
+
userType?: "agent" | "customer" | undefined;
|
|
3747
|
+
}, {
|
|
3748
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
3749
|
+
userType?: "agent" | "customer" | undefined;
|
|
3750
|
+
}>, z.ZodObject<{
|
|
3751
|
+
name: z.ZodLiteral<TextLivechatEventNames.UserRemovedFromChat>;
|
|
3752
|
+
}, "strip", z.ZodTypeAny, {
|
|
3753
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
3754
|
+
}, {
|
|
3755
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
3756
|
+
}>]>;
|
|
3757
|
+
}, "strip", z.ZodTypeAny, {
|
|
3758
|
+
event: {
|
|
3759
|
+
name: TextLivechatEventNames.ChatStarted;
|
|
3760
|
+
} | {
|
|
3761
|
+
name: TextLivechatEventNames.ChatEnded;
|
|
3762
|
+
} | {
|
|
3763
|
+
name: TextLivechatEventNames.ChatTransferred;
|
|
3764
|
+
} | {
|
|
3765
|
+
name: TextLivechatEventNames.ChatTagged;
|
|
3766
|
+
exact?: boolean | undefined;
|
|
3767
|
+
tag?: string | undefined;
|
|
3768
|
+
} | {
|
|
3769
|
+
name: TextLivechatEventNames.ChatRated;
|
|
3770
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3771
|
+
} | {
|
|
3772
|
+
name: TextLivechatEventNames.ChatCommented;
|
|
3773
|
+
} | {
|
|
3774
|
+
name: TextLivechatEventNames.ChatMessage;
|
|
3775
|
+
filter?: string | undefined;
|
|
3776
|
+
} | {
|
|
3777
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
3778
|
+
userType?: "agent" | "customer" | undefined;
|
|
3779
|
+
} | {
|
|
3780
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
3781
|
+
};
|
|
3782
|
+
provider: IntegrationNames.LiveChat;
|
|
3783
|
+
}, {
|
|
3784
|
+
event: {
|
|
3785
|
+
name: TextLivechatEventNames.ChatStarted;
|
|
3786
|
+
} | {
|
|
3787
|
+
name: TextLivechatEventNames.ChatEnded;
|
|
3788
|
+
} | {
|
|
3789
|
+
name: TextLivechatEventNames.ChatTransferred;
|
|
3790
|
+
} | {
|
|
3791
|
+
name: TextLivechatEventNames.ChatTagged;
|
|
3792
|
+
exact?: boolean | undefined;
|
|
3793
|
+
tag?: string | undefined;
|
|
3794
|
+
} | {
|
|
3795
|
+
name: TextLivechatEventNames.ChatRated;
|
|
3796
|
+
rating?: "good" | "bad" | "all" | undefined;
|
|
3797
|
+
} | {
|
|
3798
|
+
name: TextLivechatEventNames.ChatCommented;
|
|
3799
|
+
} | {
|
|
3800
|
+
name: TextLivechatEventNames.ChatMessage;
|
|
3801
|
+
filter?: string | undefined;
|
|
3802
|
+
} | {
|
|
3803
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
3804
|
+
userType?: "agent" | "customer" | undefined;
|
|
3805
|
+
} | {
|
|
3806
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
3807
|
+
};
|
|
3808
|
+
provider: IntegrationNames.LiveChat;
|
|
3809
|
+
}>;
|
|
3810
|
+
};
|
|
3811
|
+
type TextLiveChatEvent = z.infer<typeof textLivechatEventsZods.event>;
|
|
3812
|
+
type SubscribeToTextLivechatEventPayload = z.infer<typeof textLivechatEventsZods.subscribe>;
|
|
3813
|
+
type UnsubscribeFromTextLivechatEventPayload = z.infer<typeof textLivechatEventsZods.unsubscribe>;
|
|
3814
|
+
|
|
3815
|
+
declare enum TextHelpDeskEventNames {
|
|
3816
|
+
TicketCreated = "ticket_created",
|
|
3817
|
+
TicketUpdated = "ticket_updated",
|
|
3818
|
+
TicketStatusChanged = "ticket_status_changed",
|
|
3819
|
+
TicketPriorityChanged = "ticket_priority_changed",
|
|
3820
|
+
TicketTagsChanged = "ticket_tags_added",
|
|
3821
|
+
TicketFollowersChanged = "ticket_followers_added",
|
|
3822
|
+
TicketAssignmentChanged = "ticket_assignment_added",
|
|
3823
|
+
TicketMessageAdded = "ticket_message_added"
|
|
3824
|
+
}
|
|
3825
|
+
declare const textHelpDeskEventsZods: {
|
|
3826
|
+
provider: z.ZodLiteral<IntegrationNames.HelpDesk>;
|
|
3827
|
+
eventName: z.ZodNativeEnum<typeof TextHelpDeskEventNames>;
|
|
3828
|
+
events: {
|
|
3829
|
+
ticketCreated: z.ZodObject<{
|
|
3830
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketCreated>;
|
|
3831
|
+
}, "strip", z.ZodTypeAny, {
|
|
3832
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
3833
|
+
}, {
|
|
3834
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
3835
|
+
}>;
|
|
3836
|
+
ticketUpdated: z.ZodObject<{
|
|
3837
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketUpdated>;
|
|
3838
|
+
}, "strip", z.ZodTypeAny, {
|
|
3839
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
3840
|
+
}, {
|
|
3841
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
3842
|
+
}>;
|
|
3843
|
+
ticketStatusChanged: z.ZodObject<{
|
|
3844
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketStatusChanged>;
|
|
3845
|
+
}, "strip", z.ZodTypeAny, {
|
|
3846
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
3847
|
+
}, {
|
|
3848
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
3849
|
+
}>;
|
|
3850
|
+
ticketPriorityChanged: z.ZodObject<{
|
|
3851
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketPriorityChanged>;
|
|
3852
|
+
}, "strip", z.ZodTypeAny, {
|
|
3853
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
3854
|
+
}, {
|
|
3855
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
3856
|
+
}>;
|
|
3857
|
+
ticketTagsChanged: z.ZodObject<{
|
|
3858
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketTagsChanged>;
|
|
3859
|
+
}, "strip", z.ZodTypeAny, {
|
|
3860
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
3861
|
+
}, {
|
|
3862
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
3863
|
+
}>;
|
|
3864
|
+
ticketFollowersChanged: z.ZodObject<{
|
|
3865
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketFollowersChanged>;
|
|
3866
|
+
}, "strip", z.ZodTypeAny, {
|
|
3867
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
3868
|
+
}, {
|
|
3869
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
3870
|
+
}>;
|
|
3871
|
+
ticketAssignmentChanged: z.ZodObject<{
|
|
3872
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketAssignmentChanged>;
|
|
3873
|
+
}, "strip", z.ZodTypeAny, {
|
|
3874
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
3875
|
+
}, {
|
|
3876
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
3877
|
+
}>;
|
|
3878
|
+
ticketMessageAdded: z.ZodObject<{
|
|
3879
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketMessageAdded>;
|
|
3880
|
+
}, "strip", z.ZodTypeAny, {
|
|
3881
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
3882
|
+
}, {
|
|
3883
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
3884
|
+
}>;
|
|
3885
|
+
};
|
|
3886
|
+
readonly event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
3887
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketCreated>;
|
|
3888
|
+
}, "strip", z.ZodTypeAny, {
|
|
3889
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
3890
|
+
}, {
|
|
3891
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
3892
|
+
}>, z.ZodObject<{
|
|
3893
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketUpdated>;
|
|
3894
|
+
}, "strip", z.ZodTypeAny, {
|
|
3895
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
3896
|
+
}, {
|
|
3897
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
3898
|
+
}>, z.ZodObject<{
|
|
3899
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketStatusChanged>;
|
|
3900
|
+
}, "strip", z.ZodTypeAny, {
|
|
3901
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
3902
|
+
}, {
|
|
3903
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
3904
|
+
}>, z.ZodObject<{
|
|
3905
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketPriorityChanged>;
|
|
3906
|
+
}, "strip", z.ZodTypeAny, {
|
|
3907
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
3908
|
+
}, {
|
|
3909
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
3910
|
+
}>, z.ZodObject<{
|
|
3911
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketTagsChanged>;
|
|
3912
|
+
}, "strip", z.ZodTypeAny, {
|
|
3913
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
3914
|
+
}, {
|
|
3915
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
3916
|
+
}>, z.ZodObject<{
|
|
3917
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketFollowersChanged>;
|
|
3918
|
+
}, "strip", z.ZodTypeAny, {
|
|
3919
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
3920
|
+
}, {
|
|
3921
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
3922
|
+
}>, z.ZodObject<{
|
|
3923
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketAssignmentChanged>;
|
|
3924
|
+
}, "strip", z.ZodTypeAny, {
|
|
3925
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
3926
|
+
}, {
|
|
3927
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
3928
|
+
}>, z.ZodObject<{
|
|
3929
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketMessageAdded>;
|
|
3930
|
+
}, "strip", z.ZodTypeAny, {
|
|
3931
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
3932
|
+
}, {
|
|
3933
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
3934
|
+
}>]>;
|
|
3935
|
+
readonly source: z.ZodObject<{
|
|
3936
|
+
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
3937
|
+
sourceKey: z.ZodString;
|
|
3938
|
+
}, "strip", z.ZodTypeAny, {
|
|
3939
|
+
sourceName: "apps" | "workflows";
|
|
3940
|
+
sourceKey: string;
|
|
3941
|
+
}, {
|
|
3942
|
+
sourceName: "apps" | "workflows";
|
|
3943
|
+
sourceKey: string;
|
|
3944
|
+
}>;
|
|
3945
|
+
readonly subscribe: z.ZodIntersection<z.ZodObject<{
|
|
3946
|
+
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
3947
|
+
sourceKey: z.ZodString;
|
|
3948
|
+
}, "strip", z.ZodTypeAny, {
|
|
3949
|
+
sourceName: "apps" | "workflows";
|
|
3950
|
+
sourceKey: string;
|
|
3951
|
+
}, {
|
|
3952
|
+
sourceName: "apps" | "workflows";
|
|
3953
|
+
sourceKey: string;
|
|
3954
|
+
}>, z.ZodObject<{
|
|
3955
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
3956
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketCreated>;
|
|
3957
|
+
}, "strip", z.ZodTypeAny, {
|
|
3958
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
3959
|
+
}, {
|
|
3960
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
3961
|
+
}>, z.ZodObject<{
|
|
3962
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketUpdated>;
|
|
3963
|
+
}, "strip", z.ZodTypeAny, {
|
|
3964
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
3965
|
+
}, {
|
|
3966
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
3967
|
+
}>, z.ZodObject<{
|
|
3968
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketStatusChanged>;
|
|
3969
|
+
}, "strip", z.ZodTypeAny, {
|
|
3970
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
3971
|
+
}, {
|
|
3972
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
3973
|
+
}>, z.ZodObject<{
|
|
3974
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketPriorityChanged>;
|
|
3975
|
+
}, "strip", z.ZodTypeAny, {
|
|
3976
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
3977
|
+
}, {
|
|
3978
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
3979
|
+
}>, z.ZodObject<{
|
|
3980
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketTagsChanged>;
|
|
3981
|
+
}, "strip", z.ZodTypeAny, {
|
|
3982
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
3983
|
+
}, {
|
|
3984
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
3985
|
+
}>, z.ZodObject<{
|
|
3986
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketFollowersChanged>;
|
|
3987
|
+
}, "strip", z.ZodTypeAny, {
|
|
3988
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
3989
|
+
}, {
|
|
3990
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
3991
|
+
}>, z.ZodObject<{
|
|
3992
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketAssignmentChanged>;
|
|
3993
|
+
}, "strip", z.ZodTypeAny, {
|
|
3994
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
3995
|
+
}, {
|
|
3996
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
3997
|
+
}>, z.ZodObject<{
|
|
3998
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketMessageAdded>;
|
|
3999
|
+
}, "strip", z.ZodTypeAny, {
|
|
4000
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
4001
|
+
}, {
|
|
4002
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
4003
|
+
}>]>;
|
|
4004
|
+
callback: z.ZodString;
|
|
4005
|
+
}, "strip", z.ZodTypeAny, {
|
|
4006
|
+
event: {
|
|
4007
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
4008
|
+
} | {
|
|
4009
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
4010
|
+
} | {
|
|
4011
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
4012
|
+
} | {
|
|
4013
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
4014
|
+
} | {
|
|
4015
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
4016
|
+
} | {
|
|
4017
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
4018
|
+
} | {
|
|
4019
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
4020
|
+
} | {
|
|
4021
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
4022
|
+
};
|
|
4023
|
+
callback: string;
|
|
4024
|
+
}, {
|
|
4025
|
+
event: {
|
|
4026
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
4027
|
+
} | {
|
|
4028
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
4029
|
+
} | {
|
|
4030
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
4031
|
+
} | {
|
|
4032
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
4033
|
+
} | {
|
|
4034
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
4035
|
+
} | {
|
|
4036
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
4037
|
+
} | {
|
|
4038
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
4039
|
+
} | {
|
|
4040
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
4041
|
+
};
|
|
4042
|
+
callback: string;
|
|
4043
|
+
}>>;
|
|
4044
|
+
readonly subscribeContent: z.ZodObject<{
|
|
4045
|
+
provider: z.ZodLiteral<IntegrationNames.HelpDesk>;
|
|
4046
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
4047
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketCreated>;
|
|
4048
|
+
}, "strip", z.ZodTypeAny, {
|
|
4049
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
4050
|
+
}, {
|
|
4051
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
4052
|
+
}>, z.ZodObject<{
|
|
4053
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketUpdated>;
|
|
4054
|
+
}, "strip", z.ZodTypeAny, {
|
|
4055
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
4056
|
+
}, {
|
|
4057
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
4058
|
+
}>, z.ZodObject<{
|
|
4059
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketStatusChanged>;
|
|
4060
|
+
}, "strip", z.ZodTypeAny, {
|
|
4061
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
4062
|
+
}, {
|
|
4063
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
4064
|
+
}>, z.ZodObject<{
|
|
4065
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketPriorityChanged>;
|
|
4066
|
+
}, "strip", z.ZodTypeAny, {
|
|
4067
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
4068
|
+
}, {
|
|
4069
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
4070
|
+
}>, z.ZodObject<{
|
|
4071
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketTagsChanged>;
|
|
4072
|
+
}, "strip", z.ZodTypeAny, {
|
|
4073
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
4074
|
+
}, {
|
|
4075
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
4076
|
+
}>, z.ZodObject<{
|
|
4077
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketFollowersChanged>;
|
|
4078
|
+
}, "strip", z.ZodTypeAny, {
|
|
4079
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
4080
|
+
}, {
|
|
4081
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
4082
|
+
}>, z.ZodObject<{
|
|
4083
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketAssignmentChanged>;
|
|
4084
|
+
}, "strip", z.ZodTypeAny, {
|
|
4085
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
4086
|
+
}, {
|
|
4087
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
4088
|
+
}>, z.ZodObject<{
|
|
4089
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketMessageAdded>;
|
|
4090
|
+
}, "strip", z.ZodTypeAny, {
|
|
4091
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
4092
|
+
}, {
|
|
4093
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
4094
|
+
}>]>;
|
|
4095
|
+
callback: z.ZodString;
|
|
4096
|
+
}, "strip", z.ZodTypeAny, {
|
|
4097
|
+
event: {
|
|
4098
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
4099
|
+
} | {
|
|
4100
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
4101
|
+
} | {
|
|
4102
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
4103
|
+
} | {
|
|
4104
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
4105
|
+
} | {
|
|
4106
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
4107
|
+
} | {
|
|
4108
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
4109
|
+
} | {
|
|
4110
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
4111
|
+
} | {
|
|
4112
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
4113
|
+
};
|
|
4114
|
+
callback: string;
|
|
4115
|
+
provider: IntegrationNames.HelpDesk;
|
|
4116
|
+
}, {
|
|
4117
|
+
event: {
|
|
4118
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
4119
|
+
} | {
|
|
4120
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
4121
|
+
} | {
|
|
4122
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
4123
|
+
} | {
|
|
4124
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
4125
|
+
} | {
|
|
4126
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
4127
|
+
} | {
|
|
4128
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
4129
|
+
} | {
|
|
4130
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
4131
|
+
} | {
|
|
4132
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
4133
|
+
};
|
|
4134
|
+
callback: string;
|
|
4135
|
+
provider: IntegrationNames.HelpDesk;
|
|
4136
|
+
}>;
|
|
4137
|
+
readonly unsubscribe: z.ZodIntersection<z.ZodObject<{
|
|
4138
|
+
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
4139
|
+
sourceKey: z.ZodString;
|
|
4140
|
+
}, "strip", z.ZodTypeAny, {
|
|
4141
|
+
sourceName: "apps" | "workflows";
|
|
4142
|
+
sourceKey: string;
|
|
4143
|
+
}, {
|
|
4144
|
+
sourceName: "apps" | "workflows";
|
|
4145
|
+
sourceKey: string;
|
|
4146
|
+
}>, z.ZodObject<{
|
|
4147
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
4148
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketCreated>;
|
|
4149
|
+
}, "strip", z.ZodTypeAny, {
|
|
4150
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
4151
|
+
}, {
|
|
4152
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
4153
|
+
}>, z.ZodObject<{
|
|
4154
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketUpdated>;
|
|
4155
|
+
}, "strip", z.ZodTypeAny, {
|
|
4156
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
4157
|
+
}, {
|
|
4158
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
4159
|
+
}>, z.ZodObject<{
|
|
4160
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketStatusChanged>;
|
|
4161
|
+
}, "strip", z.ZodTypeAny, {
|
|
4162
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
4163
|
+
}, {
|
|
4164
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
4165
|
+
}>, z.ZodObject<{
|
|
4166
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketPriorityChanged>;
|
|
4167
|
+
}, "strip", z.ZodTypeAny, {
|
|
4168
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
4169
|
+
}, {
|
|
4170
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
4171
|
+
}>, z.ZodObject<{
|
|
4172
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketTagsChanged>;
|
|
4173
|
+
}, "strip", z.ZodTypeAny, {
|
|
4174
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
4175
|
+
}, {
|
|
4176
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
4177
|
+
}>, z.ZodObject<{
|
|
4178
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketFollowersChanged>;
|
|
4179
|
+
}, "strip", z.ZodTypeAny, {
|
|
4180
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
4181
|
+
}, {
|
|
4182
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
4183
|
+
}>, z.ZodObject<{
|
|
4184
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketAssignmentChanged>;
|
|
4185
|
+
}, "strip", z.ZodTypeAny, {
|
|
4186
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
4187
|
+
}, {
|
|
4188
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
4189
|
+
}>, z.ZodObject<{
|
|
4190
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketMessageAdded>;
|
|
4191
|
+
}, "strip", z.ZodTypeAny, {
|
|
4192
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
4193
|
+
}, {
|
|
4194
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
4195
|
+
}>]>;
|
|
4196
|
+
}, "strip", z.ZodTypeAny, {
|
|
4197
|
+
event: {
|
|
4198
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
4199
|
+
} | {
|
|
4200
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
4201
|
+
} | {
|
|
4202
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
4203
|
+
} | {
|
|
4204
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
4205
|
+
} | {
|
|
4206
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
4207
|
+
} | {
|
|
4208
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
4209
|
+
} | {
|
|
4210
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
4211
|
+
} | {
|
|
4212
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
4213
|
+
};
|
|
4214
|
+
}, {
|
|
4215
|
+
event: {
|
|
4216
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
4217
|
+
} | {
|
|
4218
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
4219
|
+
} | {
|
|
4220
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
4221
|
+
} | {
|
|
4222
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
4223
|
+
} | {
|
|
4224
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
4225
|
+
} | {
|
|
4226
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
3681
4227
|
} | {
|
|
3682
|
-
name:
|
|
4228
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
4229
|
+
} | {
|
|
4230
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
3683
4231
|
};
|
|
3684
4232
|
}>>;
|
|
3685
4233
|
readonly unsubscribeContent: z.ZodObject<{
|
|
3686
|
-
provider: z.ZodLiteral<
|
|
4234
|
+
provider: z.ZodLiteral<IntegrationNames.HelpDesk>;
|
|
3687
4235
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
3688
|
-
name: z.ZodLiteral<
|
|
3689
|
-
}, "strip", z.ZodTypeAny, {
|
|
3690
|
-
name: TextLivechatEventNames.ChatStarted;
|
|
3691
|
-
}, {
|
|
3692
|
-
name: TextLivechatEventNames.ChatStarted;
|
|
3693
|
-
}>, z.ZodObject<{
|
|
3694
|
-
name: z.ZodLiteral<TextLivechatEventNames.ChatEnded>;
|
|
4236
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketCreated>;
|
|
3695
4237
|
}, "strip", z.ZodTypeAny, {
|
|
3696
|
-
name:
|
|
4238
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
3697
4239
|
}, {
|
|
3698
|
-
name:
|
|
4240
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
3699
4241
|
}>, z.ZodObject<{
|
|
3700
|
-
name: z.ZodLiteral<
|
|
4242
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketUpdated>;
|
|
3701
4243
|
}, "strip", z.ZodTypeAny, {
|
|
3702
|
-
name:
|
|
4244
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
3703
4245
|
}, {
|
|
3704
|
-
name:
|
|
4246
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
3705
4247
|
}>, z.ZodObject<{
|
|
3706
|
-
name: z.ZodLiteral<
|
|
3707
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
3708
|
-
exact: z.ZodOptional<z.ZodBoolean>;
|
|
4248
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketStatusChanged>;
|
|
3709
4249
|
}, "strip", z.ZodTypeAny, {
|
|
3710
|
-
name:
|
|
3711
|
-
exact?: boolean | undefined;
|
|
3712
|
-
tag?: string | undefined;
|
|
4250
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
3713
4251
|
}, {
|
|
3714
|
-
name:
|
|
3715
|
-
exact?: boolean | undefined;
|
|
3716
|
-
tag?: string | undefined;
|
|
4252
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
3717
4253
|
}>, z.ZodObject<{
|
|
3718
|
-
name: z.ZodLiteral<
|
|
3719
|
-
rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
|
|
4254
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketPriorityChanged>;
|
|
3720
4255
|
}, "strip", z.ZodTypeAny, {
|
|
3721
|
-
name:
|
|
3722
|
-
rating?: "good" | "bad" | "all" | undefined;
|
|
4256
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
3723
4257
|
}, {
|
|
3724
|
-
name:
|
|
3725
|
-
rating?: "good" | "bad" | "all" | undefined;
|
|
4258
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
3726
4259
|
}>, z.ZodObject<{
|
|
3727
|
-
name: z.ZodLiteral<
|
|
4260
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketTagsChanged>;
|
|
3728
4261
|
}, "strip", z.ZodTypeAny, {
|
|
3729
|
-
name:
|
|
4262
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
3730
4263
|
}, {
|
|
3731
|
-
name:
|
|
4264
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
3732
4265
|
}>, z.ZodObject<{
|
|
3733
|
-
name: z.ZodLiteral<
|
|
3734
|
-
filter: z.ZodOptional<z.ZodString>;
|
|
4266
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketFollowersChanged>;
|
|
3735
4267
|
}, "strip", z.ZodTypeAny, {
|
|
3736
|
-
name:
|
|
3737
|
-
filter?: string | undefined;
|
|
4268
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
3738
4269
|
}, {
|
|
3739
|
-
name:
|
|
3740
|
-
filter?: string | undefined;
|
|
4270
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
3741
4271
|
}>, z.ZodObject<{
|
|
3742
|
-
name: z.ZodLiteral<
|
|
3743
|
-
userType: z.ZodOptional<z.ZodEnum<["agent", "customer"]>>;
|
|
4272
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketAssignmentChanged>;
|
|
3744
4273
|
}, "strip", z.ZodTypeAny, {
|
|
3745
|
-
name:
|
|
3746
|
-
userType?: "agent" | "customer" | undefined;
|
|
4274
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
3747
4275
|
}, {
|
|
3748
|
-
name:
|
|
3749
|
-
userType?: "agent" | "customer" | undefined;
|
|
4276
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
3750
4277
|
}>, z.ZodObject<{
|
|
3751
|
-
name: z.ZodLiteral<
|
|
4278
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketMessageAdded>;
|
|
3752
4279
|
}, "strip", z.ZodTypeAny, {
|
|
3753
|
-
name:
|
|
4280
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
3754
4281
|
}, {
|
|
3755
|
-
name:
|
|
4282
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
3756
4283
|
}>]>;
|
|
3757
4284
|
}, "strip", z.ZodTypeAny, {
|
|
3758
4285
|
event: {
|
|
3759
|
-
name:
|
|
3760
|
-
} | {
|
|
3761
|
-
name: TextLivechatEventNames.ChatEnded;
|
|
4286
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
3762
4287
|
} | {
|
|
3763
|
-
name:
|
|
4288
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
3764
4289
|
} | {
|
|
3765
|
-
name:
|
|
3766
|
-
exact?: boolean | undefined;
|
|
3767
|
-
tag?: string | undefined;
|
|
4290
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
3768
4291
|
} | {
|
|
3769
|
-
name:
|
|
3770
|
-
rating?: "good" | "bad" | "all" | undefined;
|
|
4292
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
3771
4293
|
} | {
|
|
3772
|
-
name:
|
|
4294
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
3773
4295
|
} | {
|
|
3774
|
-
name:
|
|
3775
|
-
filter?: string | undefined;
|
|
4296
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
3776
4297
|
} | {
|
|
3777
|
-
name:
|
|
3778
|
-
userType?: "agent" | "customer" | undefined;
|
|
4298
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
3779
4299
|
} | {
|
|
3780
|
-
name:
|
|
4300
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
3781
4301
|
};
|
|
3782
|
-
provider:
|
|
4302
|
+
provider: IntegrationNames.HelpDesk;
|
|
3783
4303
|
}, {
|
|
3784
4304
|
event: {
|
|
3785
|
-
name:
|
|
3786
|
-
} | {
|
|
3787
|
-
name: TextLivechatEventNames.ChatEnded;
|
|
4305
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
3788
4306
|
} | {
|
|
3789
|
-
name:
|
|
4307
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
3790
4308
|
} | {
|
|
3791
|
-
name:
|
|
3792
|
-
exact?: boolean | undefined;
|
|
3793
|
-
tag?: string | undefined;
|
|
4309
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
3794
4310
|
} | {
|
|
3795
|
-
name:
|
|
3796
|
-
rating?: "good" | "bad" | "all" | undefined;
|
|
4311
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
3797
4312
|
} | {
|
|
3798
|
-
name:
|
|
4313
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
3799
4314
|
} | {
|
|
3800
|
-
name:
|
|
3801
|
-
filter?: string | undefined;
|
|
4315
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
3802
4316
|
} | {
|
|
3803
|
-
name:
|
|
3804
|
-
userType?: "agent" | "customer" | undefined;
|
|
4317
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
3805
4318
|
} | {
|
|
3806
|
-
name:
|
|
4319
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
3807
4320
|
};
|
|
3808
|
-
provider:
|
|
4321
|
+
provider: IntegrationNames.HelpDesk;
|
|
3809
4322
|
}>;
|
|
3810
4323
|
};
|
|
3811
|
-
type
|
|
3812
|
-
type
|
|
3813
|
-
type
|
|
4324
|
+
type TextHelpDeskEvent = z.infer<typeof textHelpDeskEventsZods.event>;
|
|
4325
|
+
type SubscribeToTextHelpDeskEventPayload = z.infer<typeof textHelpDeskEventsZods.subscribe>;
|
|
4326
|
+
type UnsubscribeFromTextHelpDeskEventPayload = z.infer<typeof textHelpDeskEventsZods.unsubscribe>;
|
|
3814
4327
|
|
|
3815
4328
|
declare const integrationEventsZods: {
|
|
3816
4329
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
3817
|
-
providerName: z.ZodEnum<[
|
|
3818
|
-
readonly event: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
4330
|
+
providerName: z.ZodEnum<[IntegrationNames.LiveChat, IntegrationNames.HelpDesk, IntegrationNames.Mailchimp, IntegrationNames.Shopify, IntegrationNames.HubSpot, IntegrationNames.BigCommerce]>;
|
|
4331
|
+
readonly event: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
3819
4332
|
name: z.ZodLiteral<TextLivechatEventNames.ChatStarted>;
|
|
3820
4333
|
}, "strip", z.ZodTypeAny, {
|
|
3821
4334
|
name: TextLivechatEventNames.ChatStarted;
|
|
@@ -3885,6 +4398,54 @@ declare const integrationEventsZods: {
|
|
|
3885
4398
|
}, {
|
|
3886
4399
|
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
3887
4400
|
}>]>, z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
4401
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketCreated>;
|
|
4402
|
+
}, "strip", z.ZodTypeAny, {
|
|
4403
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
4404
|
+
}, {
|
|
4405
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
4406
|
+
}>, z.ZodObject<{
|
|
4407
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketUpdated>;
|
|
4408
|
+
}, "strip", z.ZodTypeAny, {
|
|
4409
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
4410
|
+
}, {
|
|
4411
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
4412
|
+
}>, z.ZodObject<{
|
|
4413
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketStatusChanged>;
|
|
4414
|
+
}, "strip", z.ZodTypeAny, {
|
|
4415
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
4416
|
+
}, {
|
|
4417
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
4418
|
+
}>, z.ZodObject<{
|
|
4419
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketPriorityChanged>;
|
|
4420
|
+
}, "strip", z.ZodTypeAny, {
|
|
4421
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
4422
|
+
}, {
|
|
4423
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
4424
|
+
}>, z.ZodObject<{
|
|
4425
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketTagsChanged>;
|
|
4426
|
+
}, "strip", z.ZodTypeAny, {
|
|
4427
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
4428
|
+
}, {
|
|
4429
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
4430
|
+
}>, z.ZodObject<{
|
|
4431
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketFollowersChanged>;
|
|
4432
|
+
}, "strip", z.ZodTypeAny, {
|
|
4433
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
4434
|
+
}, {
|
|
4435
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
4436
|
+
}>, z.ZodObject<{
|
|
4437
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketAssignmentChanged>;
|
|
4438
|
+
}, "strip", z.ZodTypeAny, {
|
|
4439
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
4440
|
+
}, {
|
|
4441
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
4442
|
+
}>, z.ZodObject<{
|
|
4443
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketMessageAdded>;
|
|
4444
|
+
}, "strip", z.ZodTypeAny, {
|
|
4445
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
4446
|
+
}, {
|
|
4447
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
4448
|
+
}>]>]>, z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
3888
4449
|
name: z.ZodLiteral<ShopifyEventNames>;
|
|
3889
4450
|
}, "strip", z.ZodTypeAny, {
|
|
3890
4451
|
name: ShopifyEventNames;
|
|
@@ -3977,7 +4538,7 @@ declare const integrationEventsZods: {
|
|
|
3977
4538
|
sourceName: "apps" | "workflows";
|
|
3978
4539
|
sourceKey: string;
|
|
3979
4540
|
}>, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
|
|
3980
|
-
provider: z.ZodLiteral<
|
|
4541
|
+
provider: z.ZodLiteral<IntegrationNames.LiveChat>;
|
|
3981
4542
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
3982
4543
|
name: z.ZodLiteral<TextLivechatEventNames.ChatStarted>;
|
|
3983
4544
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4075,7 +4636,7 @@ declare const integrationEventsZods: {
|
|
|
4075
4636
|
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
4076
4637
|
};
|
|
4077
4638
|
callback: string;
|
|
4078
|
-
provider:
|
|
4639
|
+
provider: IntegrationNames.LiveChat;
|
|
4079
4640
|
}, {
|
|
4080
4641
|
event: {
|
|
4081
4642
|
name: TextLivechatEventNames.ChatStarted;
|
|
@@ -4102,9 +4663,101 @@ declare const integrationEventsZods: {
|
|
|
4102
4663
|
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
4103
4664
|
};
|
|
4104
4665
|
callback: string;
|
|
4105
|
-
provider:
|
|
4666
|
+
provider: IntegrationNames.LiveChat;
|
|
4667
|
+
}>, z.ZodObject<{
|
|
4668
|
+
provider: z.ZodLiteral<IntegrationNames.HelpDesk>;
|
|
4669
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
4670
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketCreated>;
|
|
4671
|
+
}, "strip", z.ZodTypeAny, {
|
|
4672
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
4673
|
+
}, {
|
|
4674
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
4675
|
+
}>, z.ZodObject<{
|
|
4676
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketUpdated>;
|
|
4677
|
+
}, "strip", z.ZodTypeAny, {
|
|
4678
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
4679
|
+
}, {
|
|
4680
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
4681
|
+
}>, z.ZodObject<{
|
|
4682
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketStatusChanged>;
|
|
4683
|
+
}, "strip", z.ZodTypeAny, {
|
|
4684
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
4685
|
+
}, {
|
|
4686
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
4687
|
+
}>, z.ZodObject<{
|
|
4688
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketPriorityChanged>;
|
|
4689
|
+
}, "strip", z.ZodTypeAny, {
|
|
4690
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
4691
|
+
}, {
|
|
4692
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
4693
|
+
}>, z.ZodObject<{
|
|
4694
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketTagsChanged>;
|
|
4695
|
+
}, "strip", z.ZodTypeAny, {
|
|
4696
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
4697
|
+
}, {
|
|
4698
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
4699
|
+
}>, z.ZodObject<{
|
|
4700
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketFollowersChanged>;
|
|
4701
|
+
}, "strip", z.ZodTypeAny, {
|
|
4702
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
4703
|
+
}, {
|
|
4704
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
4705
|
+
}>, z.ZodObject<{
|
|
4706
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketAssignmentChanged>;
|
|
4707
|
+
}, "strip", z.ZodTypeAny, {
|
|
4708
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
4709
|
+
}, {
|
|
4710
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
4711
|
+
}>, z.ZodObject<{
|
|
4712
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketMessageAdded>;
|
|
4713
|
+
}, "strip", z.ZodTypeAny, {
|
|
4714
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
4715
|
+
}, {
|
|
4716
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
4717
|
+
}>]>;
|
|
4718
|
+
callback: z.ZodString;
|
|
4719
|
+
}, "strip", z.ZodTypeAny, {
|
|
4720
|
+
event: {
|
|
4721
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
4722
|
+
} | {
|
|
4723
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
4724
|
+
} | {
|
|
4725
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
4726
|
+
} | {
|
|
4727
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
4728
|
+
} | {
|
|
4729
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
4730
|
+
} | {
|
|
4731
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
4732
|
+
} | {
|
|
4733
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
4734
|
+
} | {
|
|
4735
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
4736
|
+
};
|
|
4737
|
+
callback: string;
|
|
4738
|
+
provider: IntegrationNames.HelpDesk;
|
|
4739
|
+
}, {
|
|
4740
|
+
event: {
|
|
4741
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
4742
|
+
} | {
|
|
4743
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
4744
|
+
} | {
|
|
4745
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
4746
|
+
} | {
|
|
4747
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
4748
|
+
} | {
|
|
4749
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
4750
|
+
} | {
|
|
4751
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
4752
|
+
} | {
|
|
4753
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
4754
|
+
} | {
|
|
4755
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
4756
|
+
};
|
|
4757
|
+
callback: string;
|
|
4758
|
+
provider: IntegrationNames.HelpDesk;
|
|
4106
4759
|
}>, z.ZodObject<{
|
|
4107
|
-
provider: z.ZodLiteral<
|
|
4760
|
+
provider: z.ZodLiteral<IntegrationNames.Shopify>;
|
|
4108
4761
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
4109
4762
|
name: z.ZodLiteral<ShopifyEventNames>;
|
|
4110
4763
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4118,15 +4771,15 @@ declare const integrationEventsZods: {
|
|
|
4118
4771
|
name: ShopifyEventNames;
|
|
4119
4772
|
};
|
|
4120
4773
|
callback: string;
|
|
4121
|
-
provider:
|
|
4774
|
+
provider: IntegrationNames.Shopify;
|
|
4122
4775
|
}, {
|
|
4123
4776
|
event: {
|
|
4124
4777
|
name: ShopifyEventNames;
|
|
4125
4778
|
};
|
|
4126
4779
|
callback: string;
|
|
4127
|
-
provider:
|
|
4780
|
+
provider: IntegrationNames.Shopify;
|
|
4128
4781
|
}>, z.ZodObject<{
|
|
4129
|
-
provider: z.ZodLiteral<
|
|
4782
|
+
provider: z.ZodLiteral<IntegrationNames.Mailchimp>;
|
|
4130
4783
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
4131
4784
|
listId: z.ZodString;
|
|
4132
4785
|
name: z.ZodLiteral<MailchimpEventNames.Subscribed>;
|
|
@@ -4156,7 +4809,7 @@ declare const integrationEventsZods: {
|
|
|
4156
4809
|
listId: string;
|
|
4157
4810
|
};
|
|
4158
4811
|
callback: string;
|
|
4159
|
-
provider:
|
|
4812
|
+
provider: IntegrationNames.Mailchimp;
|
|
4160
4813
|
}, {
|
|
4161
4814
|
event: {
|
|
4162
4815
|
name: MailchimpEventNames.Subscribed;
|
|
@@ -4166,9 +4819,9 @@ declare const integrationEventsZods: {
|
|
|
4166
4819
|
listId: string;
|
|
4167
4820
|
};
|
|
4168
4821
|
callback: string;
|
|
4169
|
-
provider:
|
|
4822
|
+
provider: IntegrationNames.Mailchimp;
|
|
4170
4823
|
}>, z.ZodObject<{
|
|
4171
|
-
provider: z.ZodLiteral<
|
|
4824
|
+
provider: z.ZodLiteral<IntegrationNames.HubSpot>;
|
|
4172
4825
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
4173
4826
|
name: z.ZodLiteral<HubspotEventNames.ContactCreated>;
|
|
4174
4827
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4190,7 +4843,7 @@ declare const integrationEventsZods: {
|
|
|
4190
4843
|
name: HubspotEventNames.ContactDeleted;
|
|
4191
4844
|
};
|
|
4192
4845
|
callback: string;
|
|
4193
|
-
provider:
|
|
4846
|
+
provider: IntegrationNames.HubSpot;
|
|
4194
4847
|
}, {
|
|
4195
4848
|
event: {
|
|
4196
4849
|
name: HubspotEventNames.ContactCreated;
|
|
@@ -4198,9 +4851,9 @@ declare const integrationEventsZods: {
|
|
|
4198
4851
|
name: HubspotEventNames.ContactDeleted;
|
|
4199
4852
|
};
|
|
4200
4853
|
callback: string;
|
|
4201
|
-
provider:
|
|
4854
|
+
provider: IntegrationNames.HubSpot;
|
|
4202
4855
|
}>, z.ZodObject<{
|
|
4203
|
-
provider: z.ZodLiteral<
|
|
4856
|
+
provider: z.ZodLiteral<IntegrationNames.BigCommerce>;
|
|
4204
4857
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
4205
4858
|
name: z.ZodLiteral<BigCommerceEventNames.CartCreated>;
|
|
4206
4859
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4254,7 +4907,7 @@ declare const integrationEventsZods: {
|
|
|
4254
4907
|
name: BigCommerceEventNames.ProductUpdated;
|
|
4255
4908
|
};
|
|
4256
4909
|
callback: string;
|
|
4257
|
-
provider:
|
|
4910
|
+
provider: IntegrationNames.BigCommerce;
|
|
4258
4911
|
}, {
|
|
4259
4912
|
event: {
|
|
4260
4913
|
name: BigCommerceEventNames.CartCreated;
|
|
@@ -4270,7 +4923,7 @@ declare const integrationEventsZods: {
|
|
|
4270
4923
|
name: BigCommerceEventNames.ProductUpdated;
|
|
4271
4924
|
};
|
|
4272
4925
|
callback: string;
|
|
4273
|
-
provider:
|
|
4926
|
+
provider: IntegrationNames.BigCommerce;
|
|
4274
4927
|
}>]>>;
|
|
4275
4928
|
readonly unsubscribe: z.ZodIntersection<z.ZodObject<{
|
|
4276
4929
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
@@ -4282,7 +4935,7 @@ declare const integrationEventsZods: {
|
|
|
4282
4935
|
sourceName: "apps" | "workflows";
|
|
4283
4936
|
sourceKey: string;
|
|
4284
4937
|
}>, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
|
|
4285
|
-
provider: z.ZodLiteral<
|
|
4938
|
+
provider: z.ZodLiteral<IntegrationNames.LiveChat>;
|
|
4286
4939
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
4287
4940
|
name: z.ZodLiteral<TextLivechatEventNames.ChatStarted>;
|
|
4288
4941
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4378,7 +5031,7 @@ declare const integrationEventsZods: {
|
|
|
4378
5031
|
} | {
|
|
4379
5032
|
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
4380
5033
|
};
|
|
4381
|
-
provider:
|
|
5034
|
+
provider: IntegrationNames.LiveChat;
|
|
4382
5035
|
}, {
|
|
4383
5036
|
event: {
|
|
4384
5037
|
name: TextLivechatEventNames.ChatStarted;
|
|
@@ -4404,9 +5057,98 @@ declare const integrationEventsZods: {
|
|
|
4404
5057
|
} | {
|
|
4405
5058
|
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
4406
5059
|
};
|
|
4407
|
-
provider:
|
|
5060
|
+
provider: IntegrationNames.LiveChat;
|
|
5061
|
+
}>, z.ZodObject<{
|
|
5062
|
+
provider: z.ZodLiteral<IntegrationNames.HelpDesk>;
|
|
5063
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
5064
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketCreated>;
|
|
5065
|
+
}, "strip", z.ZodTypeAny, {
|
|
5066
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
5067
|
+
}, {
|
|
5068
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
5069
|
+
}>, z.ZodObject<{
|
|
5070
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketUpdated>;
|
|
5071
|
+
}, "strip", z.ZodTypeAny, {
|
|
5072
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
5073
|
+
}, {
|
|
5074
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
5075
|
+
}>, z.ZodObject<{
|
|
5076
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketStatusChanged>;
|
|
5077
|
+
}, "strip", z.ZodTypeAny, {
|
|
5078
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
5079
|
+
}, {
|
|
5080
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
5081
|
+
}>, z.ZodObject<{
|
|
5082
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketPriorityChanged>;
|
|
5083
|
+
}, "strip", z.ZodTypeAny, {
|
|
5084
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
5085
|
+
}, {
|
|
5086
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
5087
|
+
}>, z.ZodObject<{
|
|
5088
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketTagsChanged>;
|
|
5089
|
+
}, "strip", z.ZodTypeAny, {
|
|
5090
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
5091
|
+
}, {
|
|
5092
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
5093
|
+
}>, z.ZodObject<{
|
|
5094
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketFollowersChanged>;
|
|
5095
|
+
}, "strip", z.ZodTypeAny, {
|
|
5096
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
5097
|
+
}, {
|
|
5098
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
5099
|
+
}>, z.ZodObject<{
|
|
5100
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketAssignmentChanged>;
|
|
5101
|
+
}, "strip", z.ZodTypeAny, {
|
|
5102
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
5103
|
+
}, {
|
|
5104
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
5105
|
+
}>, z.ZodObject<{
|
|
5106
|
+
name: z.ZodLiteral<TextHelpDeskEventNames.TicketMessageAdded>;
|
|
5107
|
+
}, "strip", z.ZodTypeAny, {
|
|
5108
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
5109
|
+
}, {
|
|
5110
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
5111
|
+
}>]>;
|
|
5112
|
+
}, "strip", z.ZodTypeAny, {
|
|
5113
|
+
event: {
|
|
5114
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
5115
|
+
} | {
|
|
5116
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
5117
|
+
} | {
|
|
5118
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
5119
|
+
} | {
|
|
5120
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
5121
|
+
} | {
|
|
5122
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
5123
|
+
} | {
|
|
5124
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
5125
|
+
} | {
|
|
5126
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
5127
|
+
} | {
|
|
5128
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
5129
|
+
};
|
|
5130
|
+
provider: IntegrationNames.HelpDesk;
|
|
5131
|
+
}, {
|
|
5132
|
+
event: {
|
|
5133
|
+
name: TextHelpDeskEventNames.TicketCreated;
|
|
5134
|
+
} | {
|
|
5135
|
+
name: TextHelpDeskEventNames.TicketUpdated;
|
|
5136
|
+
} | {
|
|
5137
|
+
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
5138
|
+
} | {
|
|
5139
|
+
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
5140
|
+
} | {
|
|
5141
|
+
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
5142
|
+
} | {
|
|
5143
|
+
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
5144
|
+
} | {
|
|
5145
|
+
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
5146
|
+
} | {
|
|
5147
|
+
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
5148
|
+
};
|
|
5149
|
+
provider: IntegrationNames.HelpDesk;
|
|
4408
5150
|
}>, z.ZodObject<{
|
|
4409
|
-
provider: z.ZodLiteral<
|
|
5151
|
+
provider: z.ZodLiteral<IntegrationNames.Shopify>;
|
|
4410
5152
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
4411
5153
|
name: z.ZodLiteral<ShopifyEventNames>;
|
|
4412
5154
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4418,14 +5160,14 @@ declare const integrationEventsZods: {
|
|
|
4418
5160
|
event: {
|
|
4419
5161
|
name: ShopifyEventNames;
|
|
4420
5162
|
};
|
|
4421
|
-
provider:
|
|
5163
|
+
provider: IntegrationNames.Shopify;
|
|
4422
5164
|
}, {
|
|
4423
5165
|
event: {
|
|
4424
5166
|
name: ShopifyEventNames;
|
|
4425
5167
|
};
|
|
4426
|
-
provider:
|
|
5168
|
+
provider: IntegrationNames.Shopify;
|
|
4427
5169
|
}>, z.ZodObject<{
|
|
4428
|
-
provider: z.ZodLiteral<
|
|
5170
|
+
provider: z.ZodLiteral<IntegrationNames.Mailchimp>;
|
|
4429
5171
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
4430
5172
|
listId: z.ZodString;
|
|
4431
5173
|
name: z.ZodLiteral<MailchimpEventNames.Subscribed>;
|
|
@@ -4453,7 +5195,7 @@ declare const integrationEventsZods: {
|
|
|
4453
5195
|
name: MailchimpEventNames.Unsubscribed;
|
|
4454
5196
|
listId: string;
|
|
4455
5197
|
};
|
|
4456
|
-
provider:
|
|
5198
|
+
provider: IntegrationNames.Mailchimp;
|
|
4457
5199
|
}, {
|
|
4458
5200
|
event: {
|
|
4459
5201
|
name: MailchimpEventNames.Subscribed;
|
|
@@ -4462,9 +5204,9 @@ declare const integrationEventsZods: {
|
|
|
4462
5204
|
name: MailchimpEventNames.Unsubscribed;
|
|
4463
5205
|
listId: string;
|
|
4464
5206
|
};
|
|
4465
|
-
provider:
|
|
5207
|
+
provider: IntegrationNames.Mailchimp;
|
|
4466
5208
|
}>, z.ZodObject<{
|
|
4467
|
-
provider: z.ZodLiteral<
|
|
5209
|
+
provider: z.ZodLiteral<IntegrationNames.HubSpot>;
|
|
4468
5210
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
4469
5211
|
name: z.ZodLiteral<HubspotEventNames.ContactCreated>;
|
|
4470
5212
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4484,16 +5226,16 @@ declare const integrationEventsZods: {
|
|
|
4484
5226
|
} | {
|
|
4485
5227
|
name: HubspotEventNames.ContactDeleted;
|
|
4486
5228
|
};
|
|
4487
|
-
provider:
|
|
5229
|
+
provider: IntegrationNames.HubSpot;
|
|
4488
5230
|
}, {
|
|
4489
5231
|
event: {
|
|
4490
5232
|
name: HubspotEventNames.ContactCreated;
|
|
4491
5233
|
} | {
|
|
4492
5234
|
name: HubspotEventNames.ContactDeleted;
|
|
4493
5235
|
};
|
|
4494
|
-
provider:
|
|
5236
|
+
provider: IntegrationNames.HubSpot;
|
|
4495
5237
|
}>, z.ZodObject<{
|
|
4496
|
-
provider: z.ZodLiteral<
|
|
5238
|
+
provider: z.ZodLiteral<IntegrationNames.BigCommerce>;
|
|
4497
5239
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
4498
5240
|
name: z.ZodLiteral<BigCommerceEventNames.CartCreated>;
|
|
4499
5241
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4545,7 +5287,7 @@ declare const integrationEventsZods: {
|
|
|
4545
5287
|
} | {
|
|
4546
5288
|
name: BigCommerceEventNames.ProductUpdated;
|
|
4547
5289
|
};
|
|
4548
|
-
provider:
|
|
5290
|
+
provider: IntegrationNames.BigCommerce;
|
|
4549
5291
|
}, {
|
|
4550
5292
|
event: {
|
|
4551
5293
|
name: BigCommerceEventNames.CartCreated;
|
|
@@ -4560,7 +5302,7 @@ declare const integrationEventsZods: {
|
|
|
4560
5302
|
} | {
|
|
4561
5303
|
name: BigCommerceEventNames.ProductUpdated;
|
|
4562
5304
|
};
|
|
4563
|
-
provider:
|
|
5305
|
+
provider: IntegrationNames.BigCommerce;
|
|
4564
5306
|
}>]>>;
|
|
4565
5307
|
};
|
|
4566
5308
|
type IntegrationEventSourceName = z.infer<typeof integrationEventsZods.sourceName>;
|
|
@@ -4605,21 +5347,6 @@ type GitHubFlows = "authorize" | "install";
|
|
|
4605
5347
|
type GitHubFlowContext<TAction extends GitHubFlows> = TAction extends "authorize" ? GitHubAuthorizeFlowCustomContext : TAction extends "install" ? GitHubInstallFlowCustomContext : never;
|
|
4606
5348
|
type GitHubFlowResult<TAction extends GitHubFlows> = TAction extends "authorize" ? GitHubAuthorizeFlowResult : TAction extends "install" ? GitHubInstallFlowResult : never;
|
|
4607
5349
|
|
|
4608
|
-
interface NeonAuthorizeActionResult {
|
|
4609
|
-
token: string;
|
|
4610
|
-
}
|
|
4611
|
-
interface NeonAuthorizeFlowCustomContext {
|
|
4612
|
-
credentialId?: string;
|
|
4613
|
-
}
|
|
4614
|
-
type NeonAuthorizeFlowContext = NeonAuthorizeFlowCustomContext & IntegrationFlowContext;
|
|
4615
|
-
interface NeonAuthorizeFlowResult {
|
|
4616
|
-
token: string;
|
|
4617
|
-
}
|
|
4618
|
-
|
|
4619
|
-
type NeonFlows = "authorize";
|
|
4620
|
-
type NeonFlowContext<TAction extends NeonFlows> = TAction extends "authorize" ? NeonAuthorizeFlowCustomContext : never;
|
|
4621
|
-
type NeonFlowResult<TAction extends NeonFlows> = TAction extends "authorize" ? NeonAuthorizeFlowResult : never;
|
|
4622
|
-
|
|
4623
5350
|
interface NetlifyAuthorizeActionResult {
|
|
4624
5351
|
token: string;
|
|
4625
5352
|
}
|
|
@@ -4650,21 +5377,6 @@ type NetlifyFlows = "authorize" | "install";
|
|
|
4650
5377
|
type NetlifyFlowContext<TAction extends NetlifyFlows> = TAction extends "authorize" ? NetlifyAuthorizeFlowCustomContext : TAction extends "install" ? NetlifyInstallFlowCustomContext : never;
|
|
4651
5378
|
type NetlifyFlowResult<TAction extends NetlifyFlows> = TAction extends "authorize" ? NetlifyAuthorizeFlowResult : TAction extends "install" ? NetlifyInstallFlowResult : never;
|
|
4652
5379
|
|
|
4653
|
-
interface PlanetScaleAuthorizeActionResult {
|
|
4654
|
-
token: string;
|
|
4655
|
-
}
|
|
4656
|
-
interface PlanetScaleAuthorizeFlowCustomContext {
|
|
4657
|
-
credentialId?: string;
|
|
4658
|
-
}
|
|
4659
|
-
type PlanetScaleAuthorizeFlowContext = PlanetScaleAuthorizeFlowCustomContext & IntegrationFlowContext;
|
|
4660
|
-
interface PlanetScaleAuthorizeFlowResult {
|
|
4661
|
-
token: string;
|
|
4662
|
-
}
|
|
4663
|
-
|
|
4664
|
-
type PlanetScaleFlows = "authorize";
|
|
4665
|
-
type PlanetScaleFlowContext<TAction extends PlanetScaleFlows> = TAction extends "authorize" ? PlanetScaleAuthorizeFlowCustomContext : never;
|
|
4666
|
-
type PlanetScaleFlowResult<TAction extends PlanetScaleFlows> = TAction extends "authorize" ? PlanetScaleAuthorizeFlowResult : never;
|
|
4667
|
-
|
|
4668
5380
|
interface VercelConnectActionContext {
|
|
4669
5381
|
token: string;
|
|
4670
5382
|
}
|
|
@@ -5440,6 +6152,87 @@ interface UpdateUserIntegrations {
|
|
|
5440
6152
|
neon?: Partial<UserNeonIntegrationDto> | null;
|
|
5441
6153
|
}
|
|
5442
6154
|
|
|
6155
|
+
declare enum HelpDeskWebhookEventType {
|
|
6156
|
+
TicketCreated = "tickets.create",
|
|
6157
|
+
TicketUpdated = "tickets.update",
|
|
6158
|
+
TicketStatusChanged = "tickets.events.status",
|
|
6159
|
+
TicketPriorityChanged = "tickets.events.priority",
|
|
6160
|
+
TicketTagsChanged = "tickets.events.tags",
|
|
6161
|
+
TicketFollowersChanged = "tickets.events.followers",
|
|
6162
|
+
TicketAssignmentChanged = "tickets.events.assignment",
|
|
6163
|
+
TicketMessageAdded = "tickets.events.message"
|
|
6164
|
+
}
|
|
6165
|
+
interface WebhookDto {
|
|
6166
|
+
ID: string;
|
|
6167
|
+
licenseID: number;
|
|
6168
|
+
createdAt: string;
|
|
6169
|
+
createdBy: string;
|
|
6170
|
+
createdByType: "agent" | "client" | "system";
|
|
6171
|
+
updatedAt: string;
|
|
6172
|
+
updatedBy: string;
|
|
6173
|
+
name: string;
|
|
6174
|
+
url: string;
|
|
6175
|
+
eventType: HelpDeskWebhookEventType;
|
|
6176
|
+
}
|
|
6177
|
+
interface WebhookTicketDto {
|
|
6178
|
+
id: string;
|
|
6179
|
+
}
|
|
6180
|
+
|
|
6181
|
+
interface CreateWebhookPayload {
|
|
6182
|
+
name: string;
|
|
6183
|
+
url: string;
|
|
6184
|
+
eventType: HelpDeskWebhookEventType;
|
|
6185
|
+
}
|
|
6186
|
+
type UpdateWebhookPayload = Omit<CreateWebhookPayload, "name">;
|
|
6187
|
+
interface HelpDeskWebhookBaseData<TEvent extends HelpDeskWebhookEventType, TPayload> {
|
|
6188
|
+
eventType: TEvent;
|
|
6189
|
+
createdAt: string;
|
|
6190
|
+
payload: TPayload;
|
|
6191
|
+
}
|
|
6192
|
+
type TicketCreatedHelpDeskWebhookData = HelpDeskWebhookBaseData<HelpDeskWebhookEventType.TicketCreated, WebhookTicketDto>;
|
|
6193
|
+
type TicketUpdatedHelpDeskWebhookData = HelpDeskWebhookBaseData<HelpDeskWebhookEventType.TicketUpdated, WebhookTicketDto>;
|
|
6194
|
+
type TicketStatusChangedHelpDeskWebhookData = HelpDeskWebhookBaseData<HelpDeskWebhookEventType.TicketStatusChanged, {
|
|
6195
|
+
ticket: WebhookTicketDto;
|
|
6196
|
+
event: Record<string, string>;
|
|
6197
|
+
}>;
|
|
6198
|
+
type TicketPriorityChangedHelpDeskWebhookData = HelpDeskWebhookBaseData<HelpDeskWebhookEventType.TicketPriorityChanged, {
|
|
6199
|
+
ticket: WebhookTicketDto;
|
|
6200
|
+
event: Record<string, string>;
|
|
6201
|
+
}>;
|
|
6202
|
+
type TicketTagsChangedHelpDeskWebhookData = HelpDeskWebhookBaseData<HelpDeskWebhookEventType.TicketTagsChanged, {
|
|
6203
|
+
ticket: WebhookTicketDto;
|
|
6204
|
+
event: Record<string, string>;
|
|
6205
|
+
}>;
|
|
6206
|
+
type TicketFollowersChangedHelpDeskWebhookData = HelpDeskWebhookBaseData<HelpDeskWebhookEventType.TicketFollowersChanged, {
|
|
6207
|
+
ticket: WebhookTicketDto;
|
|
6208
|
+
event: Record<string, string>;
|
|
6209
|
+
}>;
|
|
6210
|
+
type TicketAssignmentChangedHelpDeskWebhookData = HelpDeskWebhookBaseData<HelpDeskWebhookEventType.TicketAssignmentChanged, {
|
|
6211
|
+
ticket: WebhookTicketDto;
|
|
6212
|
+
event: Record<string, string>;
|
|
6213
|
+
}>;
|
|
6214
|
+
type TicketMessageAddedHelpDeskWebhookData = HelpDeskWebhookBaseData<HelpDeskWebhookEventType.TicketMessageAdded, {
|
|
6215
|
+
ticket: WebhookTicketDto;
|
|
6216
|
+
event: Record<string, string>;
|
|
6217
|
+
}>;
|
|
6218
|
+
type HelpDeskWebhookData = TicketCreatedHelpDeskWebhookData | TicketUpdatedHelpDeskWebhookData | TicketStatusChangedHelpDeskWebhookData | TicketPriorityChangedHelpDeskWebhookData | TicketTagsChangedHelpDeskWebhookData | TicketFollowersChangedHelpDeskWebhookData | TicketAssignmentChangedHelpDeskWebhookData | TicketMessageAddedHelpDeskWebhookData;
|
|
6219
|
+
|
|
6220
|
+
type HelpDeskClientAuthorization = GlobalAccountsClientAuthorization;
|
|
6221
|
+
interface HelpDeskClientOptions extends HelpDeskClientAuthorization {
|
|
6222
|
+
ensureAuthorizationToken?: boolean;
|
|
6223
|
+
}
|
|
6224
|
+
declare class HelpDeskApiError extends ApiErrorBase<{
|
|
6225
|
+
error: {
|
|
6226
|
+
type: string;
|
|
6227
|
+
message: string;
|
|
6228
|
+
};
|
|
6229
|
+
}> {
|
|
6230
|
+
name: "helpdesk";
|
|
6231
|
+
}
|
|
6232
|
+
declare const helpdeskClientInstance: axios.AxiosInstance;
|
|
6233
|
+
declare function getHelpDeskClientConfig(options?: HelpDeskClientOptions): AxiosRequestConfig;
|
|
6234
|
+
declare function initHelpDeskClient(baseUrl?: string, token?: string): void;
|
|
6235
|
+
|
|
5443
6236
|
interface AgentDto {
|
|
5444
6237
|
login: string;
|
|
5445
6238
|
groups: {
|
|
@@ -5725,29 +6518,26 @@ type LivechatWebhookEvent = ({
|
|
|
5725
6518
|
type: LivechatWebhookEvents.SystemMessage;
|
|
5726
6519
|
} & LivechatWebhookSystemMessageEvent);
|
|
5727
6520
|
|
|
5728
|
-
interface LivechatWebhookDataBase<
|
|
6521
|
+
interface LivechatWebhookDataBase<TAction extends LivechatWebhookActions, TPayload> {
|
|
5729
6522
|
webhookId: string;
|
|
5730
6523
|
secret_key: string;
|
|
5731
6524
|
organization_id: string;
|
|
5732
|
-
action: LivechatWebhookActions;
|
|
5733
6525
|
additional_data: {
|
|
5734
6526
|
chat_properties: Record<string, string>;
|
|
5735
6527
|
chat_presence_user_ids: string[];
|
|
5736
6528
|
};
|
|
5737
6529
|
payload: TPayload;
|
|
5738
|
-
}
|
|
5739
|
-
type LivechatWebhookConcreteData<TAction extends LivechatWebhookActions, TPayload> = LivechatWebhookDataBase<TPayload> & {
|
|
5740
6530
|
action: TAction;
|
|
5741
|
-
}
|
|
5742
|
-
type IncomingChatLivechatWebhookData =
|
|
6531
|
+
}
|
|
6532
|
+
type IncomingChatLivechatWebhookData = LivechatWebhookDataBase<LivechatWebhookActions.IncomingChat, {
|
|
5743
6533
|
chat: LivechatWebhookChat;
|
|
5744
6534
|
}>;
|
|
5745
|
-
type ChatDeactivatedLivechatWebhookData =
|
|
6535
|
+
type ChatDeactivatedLivechatWebhookData = LivechatWebhookDataBase<LivechatWebhookActions.ChatDeactivated, {
|
|
5746
6536
|
chat_id: string;
|
|
5747
6537
|
thread_id: string;
|
|
5748
6538
|
user_id: string;
|
|
5749
6539
|
}>;
|
|
5750
|
-
type ChatTransferredLivechatWebhookData =
|
|
6540
|
+
type ChatTransferredLivechatWebhookData = LivechatWebhookDataBase<LivechatWebhookActions.ChatTransferred, {
|
|
5751
6541
|
chat_id: string;
|
|
5752
6542
|
thread_id: string;
|
|
5753
6543
|
requester_id: string;
|
|
@@ -5762,31 +6552,31 @@ type ChatTransferredLivechatWebhookData = LivechatWebhookConcreteData<LivechatWe
|
|
|
5762
6552
|
queue_at_us: string;
|
|
5763
6553
|
};
|
|
5764
6554
|
}>;
|
|
5765
|
-
type UserAddedToChatLivechatWebhookData =
|
|
6555
|
+
type UserAddedToChatLivechatWebhookData = LivechatWebhookDataBase<LivechatWebhookActions.UserAddedToChat, {
|
|
5766
6556
|
chat_id: string;
|
|
5767
6557
|
thread_id: string;
|
|
5768
6558
|
requester_id: string;
|
|
5769
6559
|
reason: string;
|
|
5770
6560
|
user: LivechatWebhookUser;
|
|
5771
6561
|
}>;
|
|
5772
|
-
type UserRemovedFromChatWebhookData =
|
|
6562
|
+
type UserRemovedFromChatWebhookData = LivechatWebhookDataBase<LivechatWebhookActions.UserRemovedFromChat, {
|
|
5773
6563
|
chat_id: string;
|
|
5774
6564
|
thread_id: string;
|
|
5775
6565
|
requester_id: string;
|
|
5776
6566
|
reason: string;
|
|
5777
6567
|
user_id: string;
|
|
5778
6568
|
}>;
|
|
5779
|
-
type IncomingEventLivechatWebhookData =
|
|
6569
|
+
type IncomingEventLivechatWebhookData = LivechatWebhookDataBase<LivechatWebhookActions.IncomingEvent, {
|
|
5780
6570
|
chat_id: string;
|
|
5781
6571
|
thread_id: string;
|
|
5782
6572
|
event: LivechatWebhookEvent;
|
|
5783
6573
|
}>;
|
|
5784
|
-
type ThreadTaggedLivechatWebhookData =
|
|
6574
|
+
type ThreadTaggedLivechatWebhookData = LivechatWebhookDataBase<LivechatWebhookActions.ThreadTagged, {
|
|
5785
6575
|
chat_id: string;
|
|
5786
6576
|
thread_id: string;
|
|
5787
6577
|
tag: string;
|
|
5788
6578
|
}>;
|
|
5789
|
-
type ThreadUntaggedLivechatWebhookData =
|
|
6579
|
+
type ThreadUntaggedLivechatWebhookData = LivechatWebhookDataBase<LivechatWebhookActions.ThreadUntagged, {
|
|
5790
6580
|
chat_id: string;
|
|
5791
6581
|
thread_id: string;
|
|
5792
6582
|
tag: string;
|
|
@@ -6032,14 +6822,6 @@ declare const api: {
|
|
|
6032
6822
|
status<TSaga>(sagaId: string, authorization?: AdapterClientAuthorization | undefined): Promise<axios.AxiosResponse<SagaOutput<TSaga> | undefined, any>>;
|
|
6033
6823
|
};
|
|
6034
6824
|
integrations: {
|
|
6035
|
-
neon: {
|
|
6036
|
-
user(authorization?: NeonClientAuthorization | undefined): Promise<NeonUser>;
|
|
6037
|
-
projects(authorization?: NeonClientAuthorization | undefined): Promise<NeonProjectsDto>;
|
|
6038
|
-
databases(projectId: string, authorization?: NeonClientAuthorization | undefined): Promise<{
|
|
6039
|
-
branchId: string;
|
|
6040
|
-
databases: NeonProjectDatabaseDto[];
|
|
6041
|
-
}>;
|
|
6042
|
-
};
|
|
6043
6825
|
mailchimp: {
|
|
6044
6826
|
events: {
|
|
6045
6827
|
subscribe(payload: {
|
|
@@ -6496,6 +7278,15 @@ declare const api: {
|
|
|
6496
7278
|
};
|
|
6497
7279
|
};
|
|
6498
7280
|
};
|
|
7281
|
+
helpdesk: {
|
|
7282
|
+
webhooks: {
|
|
7283
|
+
list(authorization?: GlobalAccountsClientAuthorization | undefined): Promise<axios.AxiosResponse<WebhookDto[], any>>;
|
|
7284
|
+
get(webhookId: string, authorization?: GlobalAccountsClientAuthorization | undefined): Promise<axios.AxiosResponse<WebhookDto, any>>;
|
|
7285
|
+
create(payload: CreateWebhookPayload, authorization?: GlobalAccountsClientAuthorization | undefined): Promise<axios.AxiosResponse<WebhookDto, any>>;
|
|
7286
|
+
update(webhookId: string, payload: UpdateWebhookPayload, authorization?: GlobalAccountsClientAuthorization | undefined): Promise<axios.AxiosResponse<WebhookDto, any>>;
|
|
7287
|
+
delete(webhookId: string, authorization?: GlobalAccountsClientAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
|
|
7288
|
+
};
|
|
7289
|
+
};
|
|
6499
7290
|
};
|
|
6500
7291
|
integrations: {
|
|
6501
7292
|
github: {
|
|
@@ -6947,4 +7738,4 @@ declare function mergeDeep<T extends object, U extends object>(target: T, source
|
|
|
6947
7738
|
|
|
6948
7739
|
declare const debounce: (func: (...args: unknown[]) => void, wait: number) => (...args: unknown[]) => void;
|
|
6949
7740
|
|
|
6950
|
-
export { API_NOTIFICATIONS, AccountDto, AccountsApiError, AccountsClientAuthorization, AccountsClientInstanceOptions, AdapterApiError, AdapterClientAuthorization, AdapterClientOptions, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentConfigurationDto, AgentDto, ApiClient, ApiClientAuthorization, ApiClientConfig, ApiError, ApiErrorBase, ApiErrorKind, ApiErrorName, ApiErrorSource, AppAuthorizationData, AppBaseData, AppBaseTemplate, AppDeployment, AppDeploymentBlock, AppDeploymentBlockConfig, AppDeploymentData, AppDeploymentProvider, AppDisplayData, AppEventDto, AppGitHubRepository, AppGitHubRepositoryConfig, AppInfrastructureBlocks, AppManifest, AppMonetizationData, AppMonitoringCustomReport, AppMonitoringCustomReportDataDto, AppMonitoringEvent, AppMonitoringEventData, AppMonitoringEventsLog, AppMonitoringEventsLogItem, AppMonitoringEventsReportDto, AppMonitoringReportParams, AppMonitoringUptimeReportDto, AppNeonStorage, AppNeonStorageConfig, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppPropertiesData, AppPropertyData, AppRepository, AppRepositoryBlock, AppRepositoryBlockConfig, AppRepositoryData, AppRepositoryProvider, AppRepositoryTarget, AppRepositoryTemplate, AppRepositoryTemplates, AppResourceDto, AppStatsDto, AppStorage, AppStorageBlock, AppStorageBlockConfig, AppStorageData, AppStorageProvider, AppTemplate, AppTemplates, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppWidgetData, AppWidgetsData, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationChatBooster, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, ApplicationWidget, AuthorizeData, BigCommerceApiError, BigCommerceAuthorizeActionContext, BigCommerceAuthorizeActionResult, BigCommerceAuthorizeFlowContext, BigCommerceAuthorizeFlowCustomContext, BigCommerceAuthorizeFlowResult, BigCommerceCartCreatedWebhookData, BigCommerceCartUpdatedWebhookData, BigCommerceClientAuthorization, BigCommerceClientOptions, BigCommerceCreateWebhookPayload, BigCommerceEvent, BigCommerceEventNames, BigCommerceFlowContext, BigCommerceFlowResult, BigCommerceFlows, BigCommerceOauthCredential, BigCommerceOrderCreatedWebhookData, BigCommerceOrderUpdatedWebhookData, BigCommerceProductCreatedWebhookData, BigCommerceProductUpdatedWebhookData, BigCommerceWebhook, BigCommerceWebhookConcreteData, BigCommerceWebhookData, BigCommerceWebhookDataBase, BigCommerceWebhookScopes, BillingAccountDto, BillingAccountInfoDto, BillingClientAuthorization, BillingClientOptions, BillingInvoiceDto, BillingProduct, Category, ChatDeactivatedLivechatWebhookData, ChatTransferredLivechatWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateCredentialPayload, CreateHubSpotWebhookSubscriptionPayload, CreateLivechatBotTemplateDto, CreateLivechatBotTemplateResponse, Credential, CredentialDto, DeepPartial, DeleteLivechatBotTemplateDto, DeveloperLedgerParams, DpsApiError, DpsClientAuthorization, DpsClientOptions, EditAppVariablePayload, FunctionDto, FunctionSchema, GenerateResponsePayload, GenerateResponseResponse, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GitHubAppCredential, GitHubAuthorizeAppActionResult, GitHubAuthorizeFlowContext, GitHubAuthorizeFlowCustomContext, GitHubAuthorizeFlowResult, GitHubAuthorizeOauthActionResult, GitHubFlowContext, GitHubFlowResult, GitHubFlows, GitHubInstallActionContext, GitHubInstallActionResult, GitHubInstallFlowContext, GitHubInstallFlowCustomContext, GitHubInstallFlowResult, GitHubInstallation, GitHubOauthCredential, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryIssue, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientAuthorization, GithubClientOptions, GlobalAccountsClientAuthorization, HubSpotContactCreationWebhookData, HubSpotContactDeletionWebhookData, HubSpotFlowContext, HubSpotFlowResult, HubSpotFlows, HubSpotOauthCredential, HubSpotWebhookConcreteData, HubSpotWebhookData, HubSpotWebhookDataBase, HubSpotWebhookEventTypes, HubSpotWebhookSettings, HubSpotWebhookSubscription, HubspotApiError, HubspotAuthorizeActionResult, HubspotAuthorizeFlowContext, HubspotAuthorizeFlowCustomContext, HubspotAuthorizeFlowResult, HubspotClientAuthorization, HubspotClientInstanceOptions, HubspotEvent, HubspotEventNames, IncomingChatLivechatWebhookData, IncomingEventLivechatWebhookData, IntegrationDisplayNames, IntegrationEvent, IntegrationEventProviderName, IntegrationEventSource, IntegrationEventSourceName, IntegrationFlowContext, IntegrationFlowOutput, IntegrationModes, IntegrationNames, IssueLabel, LicenseProperty, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LiveChatClientAuthorization, LiveChatClientOptions, LiveChatConfigurationApiError, LivechatApiError, LivechatBotTemplate, LivechatWebhook, LivechatWebhookActions, LivechatWebhookChat, LivechatWebhookConcreteData, LivechatWebhookData, LivechatWebhookDataBase, LivechatWebhookDto, LivechatWebhookEvent, LivechatWebhookEvents, LivechatWebhookMessageEvent, LivechatWebhookSystemMessageEvent, LivechatWebhookSystemMessages, LivechatWebhookUser, MailchimpApiError, MailchimpAuthorizeActionResult, MailchimpAuthorizeFlowContext, MailchimpAuthorizeFlowCustomContext, MailchimpAuthorizeFlowResult, MailchimpClientAuthorization, MailchimpClientInstanceOptions, MailchimpEvent, MailchimpEventNames, MailchimpFlowContext, MailchimpFlowResult, MailchimpFlows, MailchimpListWebhook, MailchimpOauthCredential, MailchimpSubscribeWebhookData, MailchimpUnsubscribeWebhookData, MailchimpWebhookConcreteData, MailchimpWebhookData, MailchimpWebhookDataBase, MailchimpWebhookEvents, MyAccountDto, NeonAuthorizeActionResult, NeonAuthorizeFlowContext, NeonAuthorizeFlowCustomContext, NeonAuthorizeFlowResult, NeonClientAuthorization, NeonClientOptions, NeonFlowContext, NeonFlowResult, NeonFlows, NeonOauthCredential, NeonProjectBranchDto, NeonProjectBranchesDto, NeonProjectDatabaseDto, NeonProjectDatabasesDto, NeonProjectDto, NeonProjectRoleDto, NeonProjectRolesDto, NeonProjectWithConnectionUriDto, NeonProjectsDto, NeonUser, NetlifyAccount, NetlifyAuthorizeActionResult, NetlifyAuthorizeFlowContext, NetlifyAuthorizeFlowCustomContext, NetlifyAuthorizeFlowResult, NetlifyClientAuthorization, NetlifyClientOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifyFlowContext, NetlifyFlowResult, NetlifyFlows, NetlifyInstallActionContext, NetlifyInstallActionResult, NetlifyInstallFlowContext, NetlifyInstallFlowCustomContext, NetlifyInstallFlowResult, NetlifyOauthCredential, NetlifySite, OAuthCredential, OpenaiCredential, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleAuthorizeActionResult, PlanetScaleAuthorizeFlowContext, PlanetScaleAuthorizeFlowCustomContext, PlanetScaleAuthorizeFlowResult, PlanetScaleClientAuthorization, PlanetScaleClientOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleFlowContext, PlanetScaleFlowResult, PlanetScaleFlows, PlanetScaleOauthCredential, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, PushAppPayload, PushAppResult, PushAppSaga, PushAppSagaAuthorizationStep, PushAppSagaBaseStep, PushAppSagaDeploymentStep, PushAppSagaDisplayStep, PushAppSagaMonetizationStep, PushAppSagaPropertiesStep, PushAppSagaRepositoryStep, PushAppSagaStorageStep, PushAppSagaWidgetsStep, RegisterDeveloperPayload, RemoveAppAuthorizationPayload, RemoveAppMonetizationPayload, RemoveAppPropertiesPayload, RemoveAppPropertyPayload, RemoveAppWidgetPayload, RemoveAppWidgetsPayload, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, ResetLivechatBotTemplateSecretDto, Saga, SagaInput, SagaOutput, SagaStep, SagaStepChanges, SagaStepComparer, SagaStepPropertyCompareResult, SagaStepStatus, SagaStepsSchema, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, ShopifyApiError, ShopifyAuthorizeActionContext, ShopifyAuthorizeActionResult, ShopifyAuthorizeFlowContext, ShopifyAuthorizeFlowCustomContext, ShopifyAuthorizeFlowResult, ShopifyClientAuthorization, ShopifyClientOptions, ShopifyEvent, ShopifyEventNames, ShopifyFlowContext, ShopifyFlowResult, ShopifyFlows, ShopifyOauthCredential, ShopifyOrderCreatedWebhookData, ShopifyWebhookConcreteData, ShopifyWebhookData, ShopifyWebhookDataBase, ShopifyWebhookTopics, ShortcutDto, SubscribeToBigCommerceEventPayload, SubscribeToHubspotEventPayload, SubscribeToIntegrationEventPayload, SubscribeToMailchimpEventPayload, SubscribeToShopifyEventPayload, SubscribeToTextLivechatEventPayload, SyncAppVariablePayload, TextApiError, TextAuthCredential, TextAuthorizeActionResult, TextAuthorizeFlowContext, TextAuthorizeFlowCustomContext, TextAuthorizeFlowResult, TextClientAuthorization, TextClientOptions, TextFlowContext, TextFlowResult, TextFlows, TextLiveChatEvent, TextLivechatEventNames, TextOAuthCredential, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, ThreadTaggedLivechatWebhookData, ThreadUntaggedLivechatWebhookData, UnauthorizeAccountsApiError, UnauthorizeApiError, UnlinkAppDeploymentData, UnlinkAppDeploymentPayload, UnlinkAppRepositoryData, UnlinkAppRepositoryPayload, UnlinkAppStorageData, UnlinkAppStoragePayload, UnsubscribeFromBigCommerceEventPayload, UnsubscribeFromHubspotEventPayload, UnsubscribeFromIntegrationEventPayload, UnsubscribeFromMailchimpEventPayload, UnsubscribeFromShopifyEventPayload, UnsubscribeFromTextLivechatEventPayload, UpdateAppAuthorizationPayload, UpdateAppInfrastructureBlocksPayload, UpdateApplicationChangelogPayload, UpdateApplicationChatActionPayload, UpdateApplicationDirectInstallUrlPayload, UpdateApplicationIconPayload, UpdateApplicationOnboardingPayload, UpdateApplicationProductPayload, UpdateApplicationWebhookPayload, UpdateApplicationWidgetDto, UpdateChatWebhookPayload, UpdateClientPayload, UpdateCredentialPayload, UpdateLivechatBotTemplateDto, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppDeploymentPayload, UpsertAppMonetizationPayload, UpsertAppPropertiesPayload, UpsertAppPropertyPayload, UpsertAppRepositoryPayload, UpsertAppResourcePayload, UpsertAppStoragePayload, UpsertAppWidgetPayload, UpsertAppWidgetsPayload, UpsertApplicationChatBoosterPayload, UpsertHubSpotWebhookSettingsPayload, UpsertWorkflowPayload, UserAddedToChatLivechatWebhookData, UserDto, UserFeaturesDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserRemovedFromChatWebhookData, UserSurveyDto, UserVercelIntegrationDto, VercelAuthorizeActionResult, VercelAuthorizeFlowContext, VercelAuthorizeFlowCustomContext, VercelAuthorizeFlowResult, VercelClientAuthorization, VercelClientOptions, VercelConnectActionContext, VercelConnectActionResult, VercelDeploy, VercelFlowContext, VercelFlowResult, VercelFlows, VercelInstallActionContext, VercelInstallActionResult, VercelInstallFlowContext, VercelInstallFlowCustomContext, VercelInstallFlowResult, VercelNamespace, VercelOauthCredential, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppPayload, VerifyAppResult, WorkflowDefinitionAddNodeTask, WorkflowDefinitionAddTriggerTask, WorkflowDefinitionDto, WorkflowDefinitionForkJoinTask, WorkflowDefinitionHttpTask, WorkflowDefinitionJoinTask, WorkflowDefinitionSwitchTask, WorkflowDefinitionTask, WorkflowDefinitionTaskBase, WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, WorkflowDefinitionTerminateTask, WorkflowDefinitionTriggerTask, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowTriggerDto, WorkflowTriggerType, WorkflowsDto, adapterClientInstance, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, bigcommerceEventsZods, billingClientInstance, debounce, dpsClientInstance, getAdapterClientConfig, getAdapterClientDefaultConfig, getAppAutoReviewPayload, getBigCommerceClientConfig, getBigCommerceClientUrl, getBillingClientConfig, getDpsClientConfig, getEmptyAppAutoReview, getGithubClientConfig, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlOld, getLiveChatClientConfig, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientConfig, getNetlifyClientConfig, getPlanetScaleClientConfig, getRegion, getShopifyClientConfig, getShopifyClientUrl, getTextClientConfig, getVercelClientConfig, githubClientInstance, hubspotClientInstance, hubspotEventsZods, initAdapterClient, initApi, initBigCommerceClient, initBillingClient, initDpsClient, initGithubClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initShopifyClient, initTextClient, initVercelClient, integrationEventsZods, livechatClientInstance, mailchimpClientInstance, mailchimpEventsZods, mergeDeep, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, shopifyClientInstance, shopifyEventsZods, textClientInstance, textLivechatEventsZods, updateAdapterClient, updateBigCommerceClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updateShopifyClient, updateVercelClient, vercelClientInstance };
|
|
7741
|
+
export { API_NOTIFICATIONS, AccountDto, AccountsApiError, AccountsClientAuthorization, AccountsClientInstanceOptions, AdapterApiError, AdapterClientAuthorization, AdapterClientOptions, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentConfigurationDto, AgentDto, ApiClient, ApiClientAuthorization, ApiClientConfig, ApiError, ApiErrorBase, ApiErrorKind, ApiErrorName, ApiErrorSource, AppAuthorizationData, AppBaseData, AppBaseTemplate, AppDeployment, AppDeploymentBlock, AppDeploymentBlockConfig, AppDeploymentData, AppDeploymentProvider, AppDisplayData, AppEventDto, AppGitHubRepository, AppGitHubRepositoryConfig, AppInfrastructureBlocks, AppManifest, AppMonetizationData, AppMonitoringCustomReport, AppMonitoringCustomReportDataDto, AppMonitoringEvent, AppMonitoringEventData, AppMonitoringEventsLog, AppMonitoringEventsLogItem, AppMonitoringEventsReportDto, AppMonitoringReportParams, AppMonitoringUptimeReportDto, AppNeonStorage, AppNeonStorageConfig, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppPropertiesData, AppPropertyData, AppRepository, AppRepositoryBlock, AppRepositoryBlockConfig, AppRepositoryData, AppRepositoryProvider, AppRepositoryTarget, AppRepositoryTemplate, AppRepositoryTemplates, AppResourceDto, AppStatsDto, AppStorage, AppStorageBlock, AppStorageBlockConfig, AppStorageData, AppStorageProvider, AppTemplate, AppTemplates, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppWidgetData, AppWidgetsData, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationChatBooster, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, ApplicationWidget, AuthorizeData, BigCommerceApiError, BigCommerceAuthorizeActionContext, BigCommerceAuthorizeActionResult, BigCommerceAuthorizeFlowContext, BigCommerceAuthorizeFlowCustomContext, BigCommerceAuthorizeFlowResult, BigCommerceCartCreatedWebhookData, BigCommerceCartUpdatedWebhookData, BigCommerceClientAuthorization, BigCommerceClientOptions, BigCommerceCreateWebhookPayload, BigCommerceEvent, BigCommerceEventNames, BigCommerceFlowContext, BigCommerceFlowResult, BigCommerceFlows, BigCommerceOauthCredential, BigCommerceOrderCreatedWebhookData, BigCommerceOrderUpdatedWebhookData, BigCommerceProductCreatedWebhookData, BigCommerceProductUpdatedWebhookData, BigCommerceWebhook, BigCommerceWebhookConcreteData, BigCommerceWebhookData, BigCommerceWebhookDataBase, BigCommerceWebhookScopes, BillingAccountDto, BillingAccountInfoDto, BillingClientAuthorization, BillingClientOptions, BillingInvoiceDto, BillingProduct, Category, ChatDeactivatedLivechatWebhookData, ChatTransferredLivechatWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateCredentialPayload, CreateHubSpotWebhookSubscriptionPayload, CreateLivechatBotTemplateDto, CreateLivechatBotTemplateResponse, CreateWebhookPayload, Credential, CredentialDto, DeepPartial, DeleteLivechatBotTemplateDto, DeveloperLedgerParams, DpsApiError, DpsClientAuthorization, DpsClientOptions, EditAppVariablePayload, FunctionDto, FunctionSchema, GenerateResponsePayload, GenerateResponseResponse, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GitHubAppCredential, GitHubAuthorizeAppActionResult, GitHubAuthorizeFlowContext, GitHubAuthorizeFlowCustomContext, GitHubAuthorizeFlowResult, GitHubAuthorizeOauthActionResult, GitHubFlowContext, GitHubFlowResult, GitHubFlows, GitHubInstallActionContext, GitHubInstallActionResult, GitHubInstallFlowContext, GitHubInstallFlowCustomContext, GitHubInstallFlowResult, GitHubInstallation, GitHubOauthCredential, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryIssue, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientAuthorization, GithubClientOptions, GlobalAccountsClientAuthorization, HelpDeskApiError, HelpDeskClientAuthorization, HelpDeskClientOptions, HelpDeskWebhookBaseData, HelpDeskWebhookData, HelpDeskWebhookEventType, HubSpotContactCreationWebhookData, HubSpotContactDeletionWebhookData, HubSpotFlowContext, HubSpotFlowResult, HubSpotFlows, HubSpotOauthCredential, HubSpotWebhookConcreteData, HubSpotWebhookData, HubSpotWebhookDataBase, HubSpotWebhookEventTypes, HubSpotWebhookSettings, HubSpotWebhookSubscription, HubspotApiError, HubspotAuthorizeActionResult, HubspotAuthorizeFlowContext, HubspotAuthorizeFlowCustomContext, HubspotAuthorizeFlowResult, HubspotClientAuthorization, HubspotClientInstanceOptions, HubspotEvent, HubspotEventNames, IncomingChatLivechatWebhookData, IncomingEventLivechatWebhookData, IntegrationDisplayNames, IntegrationEvent, IntegrationEventProviderName, IntegrationEventSource, IntegrationEventSourceName, IntegrationFlowContext, IntegrationFlowOutput, IntegrationModes, IntegrationNames, IssueLabel, LicenseProperty, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LiveChatClientAuthorization, LiveChatClientOptions, LiveChatConfigurationApiError, LivechatApiError, LivechatBotTemplate, LivechatWebhook, LivechatWebhookActions, LivechatWebhookChat, LivechatWebhookData, LivechatWebhookDataBase, LivechatWebhookDto, LivechatWebhookEvent, LivechatWebhookEvents, LivechatWebhookMessageEvent, LivechatWebhookSystemMessageEvent, LivechatWebhookSystemMessages, LivechatWebhookUser, MailchimpApiError, MailchimpAuthorizeActionResult, MailchimpAuthorizeFlowContext, MailchimpAuthorizeFlowCustomContext, MailchimpAuthorizeFlowResult, MailchimpClientAuthorization, MailchimpClientInstanceOptions, MailchimpEvent, MailchimpEventNames, MailchimpFlowContext, MailchimpFlowResult, MailchimpFlows, MailchimpListWebhook, MailchimpOauthCredential, MailchimpSubscribeWebhookData, MailchimpUnsubscribeWebhookData, MailchimpWebhookConcreteData, MailchimpWebhookData, MailchimpWebhookDataBase, MailchimpWebhookEvents, MyAccountDto, NeonClientAuthorization, NeonClientOptions, NeonOauthCredential, NeonProjectBranchDto, NeonProjectBranchesDto, NeonProjectDatabaseDto, NeonProjectDatabasesDto, NeonProjectDto, NeonProjectRoleDto, NeonProjectRolesDto, NeonProjectWithConnectionUriDto, NeonProjectsDto, NeonUser, NetlifyAccount, NetlifyAuthorizeActionResult, NetlifyAuthorizeFlowContext, NetlifyAuthorizeFlowCustomContext, NetlifyAuthorizeFlowResult, NetlifyClientAuthorization, NetlifyClientOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifyFlowContext, NetlifyFlowResult, NetlifyFlows, NetlifyInstallActionContext, NetlifyInstallActionResult, NetlifyInstallFlowContext, NetlifyInstallFlowCustomContext, NetlifyInstallFlowResult, NetlifyOauthCredential, NetlifySite, OAuthCredential, OpenaiCredential, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleClientAuthorization, PlanetScaleClientOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleOauthCredential, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, PushAppPayload, PushAppResult, PushAppSaga, PushAppSagaAuthorizationStep, PushAppSagaBaseStep, PushAppSagaDeploymentStep, PushAppSagaDisplayStep, PushAppSagaMonetizationStep, PushAppSagaPropertiesStep, PushAppSagaRepositoryStep, PushAppSagaStorageStep, PushAppSagaWidgetsStep, RegisterDeveloperPayload, RemoveAppAuthorizationPayload, RemoveAppMonetizationPayload, RemoveAppPropertiesPayload, RemoveAppPropertyPayload, RemoveAppWidgetPayload, RemoveAppWidgetsPayload, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, ResetLivechatBotTemplateSecretDto, Saga, SagaInput, SagaOutput, SagaStep, SagaStepChanges, SagaStepComparer, SagaStepPropertyCompareResult, SagaStepStatus, SagaStepsSchema, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, ShopifyApiError, ShopifyAuthorizeActionContext, ShopifyAuthorizeActionResult, ShopifyAuthorizeFlowContext, ShopifyAuthorizeFlowCustomContext, ShopifyAuthorizeFlowResult, ShopifyClientAuthorization, ShopifyClientOptions, ShopifyEvent, ShopifyEventNames, ShopifyFlowContext, ShopifyFlowResult, ShopifyFlows, ShopifyOauthCredential, ShopifyOrderCreatedWebhookData, ShopifyWebhookConcreteData, ShopifyWebhookData, ShopifyWebhookDataBase, ShopifyWebhookTopics, ShortcutDto, SubscribeToBigCommerceEventPayload, SubscribeToHubspotEventPayload, SubscribeToIntegrationEventPayload, SubscribeToMailchimpEventPayload, SubscribeToShopifyEventPayload, SubscribeToTextHelpDeskEventPayload, SubscribeToTextLivechatEventPayload, SyncAppVariablePayload, TextApiError, TextAuthCredential, TextAuthorizeActionResult, TextAuthorizeFlowContext, TextAuthorizeFlowCustomContext, TextAuthorizeFlowResult, TextClientAuthorization, TextClientOptions, TextFlowContext, TextFlowResult, TextFlows, TextHelpDeskEvent, TextHelpDeskEventNames, TextLiveChatEvent, TextLivechatEventNames, TextOAuthCredential, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, ThreadTaggedLivechatWebhookData, ThreadUntaggedLivechatWebhookData, TicketAssignmentChangedHelpDeskWebhookData, TicketCreatedHelpDeskWebhookData, TicketFollowersChangedHelpDeskWebhookData, TicketMessageAddedHelpDeskWebhookData, TicketPriorityChangedHelpDeskWebhookData, TicketStatusChangedHelpDeskWebhookData, TicketTagsChangedHelpDeskWebhookData, TicketUpdatedHelpDeskWebhookData, UnauthorizeAccountsApiError, UnauthorizeApiError, UnlinkAppDeploymentData, UnlinkAppDeploymentPayload, UnlinkAppRepositoryData, UnlinkAppRepositoryPayload, UnlinkAppStorageData, UnlinkAppStoragePayload, UnsubscribeFromBigCommerceEventPayload, UnsubscribeFromHubspotEventPayload, UnsubscribeFromIntegrationEventPayload, UnsubscribeFromMailchimpEventPayload, UnsubscribeFromShopifyEventPayload, UnsubscribeFromTextHelpDeskEventPayload, UnsubscribeFromTextLivechatEventPayload, UpdateAppAuthorizationPayload, UpdateAppInfrastructureBlocksPayload, UpdateApplicationChangelogPayload, UpdateApplicationChatActionPayload, UpdateApplicationDirectInstallUrlPayload, UpdateApplicationIconPayload, UpdateApplicationOnboardingPayload, UpdateApplicationProductPayload, UpdateApplicationWebhookPayload, UpdateApplicationWidgetDto, UpdateChatWebhookPayload, UpdateClientPayload, UpdateCredentialPayload, UpdateLivechatBotTemplateDto, UpdateUserFeatures, UpdateUserIntegrations, UpdateWebhookPayload, UpsertAppDeploymentPayload, UpsertAppMonetizationPayload, UpsertAppPropertiesPayload, UpsertAppPropertyPayload, UpsertAppRepositoryPayload, UpsertAppResourcePayload, UpsertAppStoragePayload, UpsertAppWidgetPayload, UpsertAppWidgetsPayload, UpsertApplicationChatBoosterPayload, UpsertHubSpotWebhookSettingsPayload, UpsertWorkflowPayload, UserAddedToChatLivechatWebhookData, UserDto, UserFeaturesDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserRemovedFromChatWebhookData, UserSurveyDto, UserVercelIntegrationDto, VercelAuthorizeActionResult, VercelAuthorizeFlowContext, VercelAuthorizeFlowCustomContext, VercelAuthorizeFlowResult, VercelClientAuthorization, VercelClientOptions, VercelConnectActionContext, VercelConnectActionResult, VercelDeploy, VercelFlowContext, VercelFlowResult, VercelFlows, VercelInstallActionContext, VercelInstallActionResult, VercelInstallFlowContext, VercelInstallFlowCustomContext, VercelInstallFlowResult, VercelNamespace, VercelOauthCredential, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppPayload, VerifyAppResult, WebhookDto, WebhookTicketDto, WorkflowDefinitionAddNodeTask, WorkflowDefinitionAddTriggerTask, WorkflowDefinitionDto, WorkflowDefinitionForkJoinTask, WorkflowDefinitionHttpTask, WorkflowDefinitionJoinTask, WorkflowDefinitionSwitchTask, WorkflowDefinitionTask, WorkflowDefinitionTaskBase, WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, WorkflowDefinitionTerminateTask, WorkflowDefinitionTriggerTask, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowTriggerDto, WorkflowTriggerType, WorkflowsDto, adapterClientInstance, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, bigcommerceEventsZods, billingClientInstance, debounce, dpsClientInstance, getAdapterClientConfig, getAdapterClientDefaultConfig, getAppAutoReviewPayload, getBigCommerceClientConfig, getBigCommerceClientUrl, getBillingClientConfig, getDpsClientConfig, getEmptyAppAutoReview, getGithubClientConfig, getHelpDeskClientConfig, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlOld, getLiveChatClientConfig, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientConfig, getNetlifyClientConfig, getPlanetScaleClientConfig, getRegion, getShopifyClientConfig, getShopifyClientUrl, getTextClientConfig, getVercelClientConfig, githubClientInstance, helpdeskClientInstance, hubspotClientInstance, hubspotEventsZods, initAdapterClient, initApi, initBigCommerceClient, initBillingClient, initDpsClient, initGithubClient, initHelpDeskClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initShopifyClient, initTextClient, initVercelClient, integrationEventsZods, livechatClientInstance, mailchimpClientInstance, mailchimpEventsZods, mergeDeep, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, shopifyClientInstance, shopifyEventsZods, textClientInstance, textHelpDeskEventsZods, textLivechatEventsZods, updateAdapterClient, updateBigCommerceClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updateShopifyClient, updateVercelClient, vercelClientInstance };
|