@livechat/developer-studio-api 3.1.32 → 3.1.34
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 +199 -4
- package/dist/index.d.ts +199 -4
- package/dist/index.js +50 -2
- package/dist/index.mjs +50 -2
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -402,6 +402,7 @@ type TriggerPayload = {
|
|
|
402
402
|
webhook_props: Record<string, string>;
|
|
403
403
|
};
|
|
404
404
|
interface WorkflowsDto {
|
|
405
|
+
active: boolean;
|
|
405
406
|
name: string;
|
|
406
407
|
version: number;
|
|
407
408
|
description: string;
|
|
@@ -409,6 +410,7 @@ interface WorkflowsDto {
|
|
|
409
410
|
created_by: string;
|
|
410
411
|
}
|
|
411
412
|
interface WorkflowDto {
|
|
413
|
+
active: boolean;
|
|
412
414
|
name: string;
|
|
413
415
|
version: number;
|
|
414
416
|
description: string;
|
|
@@ -579,6 +581,21 @@ type DeepPartial<T> = T extends object ? {
|
|
|
579
581
|
type CreateCredentialPayload = Credential;
|
|
580
582
|
type UpdateCredentialPayload = DeepPartial<Credential>;
|
|
581
583
|
|
|
584
|
+
interface GenerateResponsePayload {
|
|
585
|
+
agent_id: string;
|
|
586
|
+
account_id: string;
|
|
587
|
+
organization: string;
|
|
588
|
+
token: string;
|
|
589
|
+
executor: "single-chain";
|
|
590
|
+
messages: {
|
|
591
|
+
value: string;
|
|
592
|
+
}[];
|
|
593
|
+
}
|
|
594
|
+
interface GenerateResponseResponse {
|
|
595
|
+
trace_id: string;
|
|
596
|
+
response: string;
|
|
597
|
+
}
|
|
598
|
+
|
|
582
599
|
type ApiErrorName = "adapter" | "accounts" | "livechat" | "dps" | "github" | "vercel" | "netlify" | "planetscale" | "neon" | "mailchimp" | "shopify" | "hubspot" | "bigcommerce" | "text";
|
|
583
600
|
type ApiErrorSource = "accounts" | "github" | "vercel" | "netlify" | "planetscale" | "neon" | "mailchimp" | "shopify" | "hubspot" | "bigcommerce" | "text";
|
|
584
601
|
type ApiErrorKind = "unauthorized" | "error";
|
|
@@ -1071,8 +1088,11 @@ declare function updateHubspotClient(token?: string): void;
|
|
|
1071
1088
|
|
|
1072
1089
|
declare enum BigCommerceWebhookScopes {
|
|
1073
1090
|
CartCreated = "store/cart/created",
|
|
1091
|
+
CartUpdated = "store/cart/updated",
|
|
1074
1092
|
OrderCreated = "store/order/created",
|
|
1075
|
-
OrderUpdated = "store/order/updated"
|
|
1093
|
+
OrderUpdated = "store/order/updated",
|
|
1094
|
+
ProductCreated = "store/product/created",
|
|
1095
|
+
ProductUpdated = "store/product/updated"
|
|
1076
1096
|
}
|
|
1077
1097
|
interface BigCommerceWebhook {
|
|
1078
1098
|
id: number;
|
|
@@ -1099,9 +1119,21 @@ type BigCommerceCartCreatedWebhookData = BigCommerceWebhookConcreteData<BigComme
|
|
|
1099
1119
|
type: "cart";
|
|
1100
1120
|
id: string;
|
|
1101
1121
|
}>;
|
|
1122
|
+
type BigCommerceCartUpdatedWebhookData = BigCommerceWebhookConcreteData<BigCommerceWebhookScopes.CartUpdated, {
|
|
1123
|
+
type: "cart";
|
|
1124
|
+
id: string;
|
|
1125
|
+
}>;
|
|
1102
1126
|
type BigCommerceOrderCreatedWebhookData = BigCommerceWebhookConcreteData<BigCommerceWebhookScopes.OrderCreated, IOrder>;
|
|
1103
1127
|
type BigCommerceOrderUpdatedWebhookData = BigCommerceWebhookConcreteData<BigCommerceWebhookScopes.OrderUpdated, IOrder>;
|
|
1104
|
-
type
|
|
1128
|
+
type BigCommerceProductCreatedWebhookData = BigCommerceWebhookConcreteData<BigCommerceWebhookScopes.ProductCreated, {
|
|
1129
|
+
type: "cart";
|
|
1130
|
+
id: string;
|
|
1131
|
+
}>;
|
|
1132
|
+
type BigCommerceProductUpdatedWebhookData = BigCommerceWebhookConcreteData<BigCommerceWebhookScopes.ProductUpdated, {
|
|
1133
|
+
type: "product";
|
|
1134
|
+
id: string;
|
|
1135
|
+
}>;
|
|
1136
|
+
type BigCommerceWebhookData = BigCommerceCartCreatedWebhookData | BigCommerceOrderCreatedWebhookData | BigCommerceOrderUpdatedWebhookData | BigCommerceProductCreatedWebhookData | BigCommerceProductUpdatedWebhookData;
|
|
1105
1137
|
interface BigCommerceCreateWebhookPayload {
|
|
1106
1138
|
scope: BigCommerceWebhookScopes;
|
|
1107
1139
|
destination: string;
|
|
@@ -1986,8 +2018,11 @@ type BigCommerceFlowResult<TAction extends BigCommerceFlows> = TAction extends "
|
|
|
1986
2018
|
|
|
1987
2019
|
declare enum BigCommerceEventNames {
|
|
1988
2020
|
CartCreated = "cart_created",
|
|
2021
|
+
CartUpdated = "cart_updated",
|
|
1989
2022
|
OrderCreated = "order_created",
|
|
1990
|
-
OrderUpdated = "order_updated"
|
|
2023
|
+
OrderUpdated = "order_updated",
|
|
2024
|
+
ProductCreated = "product_created",
|
|
2025
|
+
ProductUpdated = "product_updated"
|
|
1991
2026
|
}
|
|
1992
2027
|
|
|
1993
2028
|
declare const bigcommerceEventsZods: {
|
|
@@ -2001,6 +2036,13 @@ declare const bigcommerceEventsZods: {
|
|
|
2001
2036
|
}, {
|
|
2002
2037
|
name: BigCommerceEventNames.CartCreated;
|
|
2003
2038
|
}>;
|
|
2039
|
+
cartUpdated: z.ZodObject<{
|
|
2040
|
+
name: z.ZodLiteral<BigCommerceEventNames.CartUpdated>;
|
|
2041
|
+
}, "strip", z.ZodTypeAny, {
|
|
2042
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2043
|
+
}, {
|
|
2044
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2045
|
+
}>;
|
|
2004
2046
|
orderCreated: z.ZodObject<{
|
|
2005
2047
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
2006
2048
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2015,6 +2057,20 @@ declare const bigcommerceEventsZods: {
|
|
|
2015
2057
|
}, {
|
|
2016
2058
|
name: BigCommerceEventNames.OrderUpdated;
|
|
2017
2059
|
}>;
|
|
2060
|
+
productCreated: z.ZodObject<{
|
|
2061
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductCreated>;
|
|
2062
|
+
}, "strip", z.ZodTypeAny, {
|
|
2063
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2064
|
+
}, {
|
|
2065
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2066
|
+
}>;
|
|
2067
|
+
productUpdated: z.ZodObject<{
|
|
2068
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductUpdated>;
|
|
2069
|
+
}, "strip", z.ZodTypeAny, {
|
|
2070
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2071
|
+
}, {
|
|
2072
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2073
|
+
}>;
|
|
2018
2074
|
};
|
|
2019
2075
|
readonly event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2020
2076
|
name: z.ZodLiteral<BigCommerceEventNames.CartCreated>;
|
|
@@ -2022,6 +2078,12 @@ declare const bigcommerceEventsZods: {
|
|
|
2022
2078
|
name: BigCommerceEventNames.CartCreated;
|
|
2023
2079
|
}, {
|
|
2024
2080
|
name: BigCommerceEventNames.CartCreated;
|
|
2081
|
+
}>, z.ZodObject<{
|
|
2082
|
+
name: z.ZodLiteral<BigCommerceEventNames.CartUpdated>;
|
|
2083
|
+
}, "strip", z.ZodTypeAny, {
|
|
2084
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2085
|
+
}, {
|
|
2086
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2025
2087
|
}>, z.ZodObject<{
|
|
2026
2088
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
2027
2089
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2034,6 +2096,18 @@ declare const bigcommerceEventsZods: {
|
|
|
2034
2096
|
name: BigCommerceEventNames.OrderUpdated;
|
|
2035
2097
|
}, {
|
|
2036
2098
|
name: BigCommerceEventNames.OrderUpdated;
|
|
2099
|
+
}>, z.ZodObject<{
|
|
2100
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductCreated>;
|
|
2101
|
+
}, "strip", z.ZodTypeAny, {
|
|
2102
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2103
|
+
}, {
|
|
2104
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2105
|
+
}>, z.ZodObject<{
|
|
2106
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductUpdated>;
|
|
2107
|
+
}, "strip", z.ZodTypeAny, {
|
|
2108
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2109
|
+
}, {
|
|
2110
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2037
2111
|
}>]>;
|
|
2038
2112
|
readonly source: z.ZodObject<{
|
|
2039
2113
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
@@ -2061,6 +2135,12 @@ declare const bigcommerceEventsZods: {
|
|
|
2061
2135
|
name: BigCommerceEventNames.CartCreated;
|
|
2062
2136
|
}, {
|
|
2063
2137
|
name: BigCommerceEventNames.CartCreated;
|
|
2138
|
+
}>, z.ZodObject<{
|
|
2139
|
+
name: z.ZodLiteral<BigCommerceEventNames.CartUpdated>;
|
|
2140
|
+
}, "strip", z.ZodTypeAny, {
|
|
2141
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2142
|
+
}, {
|
|
2143
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2064
2144
|
}>, z.ZodObject<{
|
|
2065
2145
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
2066
2146
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2073,24 +2153,48 @@ declare const bigcommerceEventsZods: {
|
|
|
2073
2153
|
name: BigCommerceEventNames.OrderUpdated;
|
|
2074
2154
|
}, {
|
|
2075
2155
|
name: BigCommerceEventNames.OrderUpdated;
|
|
2156
|
+
}>, z.ZodObject<{
|
|
2157
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductCreated>;
|
|
2158
|
+
}, "strip", z.ZodTypeAny, {
|
|
2159
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2160
|
+
}, {
|
|
2161
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2162
|
+
}>, z.ZodObject<{
|
|
2163
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductUpdated>;
|
|
2164
|
+
}, "strip", z.ZodTypeAny, {
|
|
2165
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2166
|
+
}, {
|
|
2167
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2076
2168
|
}>]>;
|
|
2077
2169
|
callback: z.ZodString;
|
|
2078
2170
|
}, "strip", z.ZodTypeAny, {
|
|
2079
2171
|
event: {
|
|
2080
2172
|
name: BigCommerceEventNames.CartCreated;
|
|
2173
|
+
} | {
|
|
2174
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2081
2175
|
} | {
|
|
2082
2176
|
name: BigCommerceEventNames.OrderCreated;
|
|
2083
2177
|
} | {
|
|
2084
2178
|
name: BigCommerceEventNames.OrderUpdated;
|
|
2179
|
+
} | {
|
|
2180
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2181
|
+
} | {
|
|
2182
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2085
2183
|
};
|
|
2086
2184
|
callback: string;
|
|
2087
2185
|
}, {
|
|
2088
2186
|
event: {
|
|
2089
2187
|
name: BigCommerceEventNames.CartCreated;
|
|
2188
|
+
} | {
|
|
2189
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2090
2190
|
} | {
|
|
2091
2191
|
name: BigCommerceEventNames.OrderCreated;
|
|
2092
2192
|
} | {
|
|
2093
2193
|
name: BigCommerceEventNames.OrderUpdated;
|
|
2194
|
+
} | {
|
|
2195
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2196
|
+
} | {
|
|
2197
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2094
2198
|
};
|
|
2095
2199
|
callback: string;
|
|
2096
2200
|
}>>;
|
|
@@ -2102,6 +2206,12 @@ declare const bigcommerceEventsZods: {
|
|
|
2102
2206
|
name: BigCommerceEventNames.CartCreated;
|
|
2103
2207
|
}, {
|
|
2104
2208
|
name: BigCommerceEventNames.CartCreated;
|
|
2209
|
+
}>, z.ZodObject<{
|
|
2210
|
+
name: z.ZodLiteral<BigCommerceEventNames.CartUpdated>;
|
|
2211
|
+
}, "strip", z.ZodTypeAny, {
|
|
2212
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2213
|
+
}, {
|
|
2214
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2105
2215
|
}>, z.ZodObject<{
|
|
2106
2216
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
2107
2217
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2114,25 +2224,49 @@ declare const bigcommerceEventsZods: {
|
|
|
2114
2224
|
name: BigCommerceEventNames.OrderUpdated;
|
|
2115
2225
|
}, {
|
|
2116
2226
|
name: BigCommerceEventNames.OrderUpdated;
|
|
2227
|
+
}>, z.ZodObject<{
|
|
2228
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductCreated>;
|
|
2229
|
+
}, "strip", z.ZodTypeAny, {
|
|
2230
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2231
|
+
}, {
|
|
2232
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2233
|
+
}>, z.ZodObject<{
|
|
2234
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductUpdated>;
|
|
2235
|
+
}, "strip", z.ZodTypeAny, {
|
|
2236
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2237
|
+
}, {
|
|
2238
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2117
2239
|
}>]>;
|
|
2118
2240
|
callback: z.ZodString;
|
|
2119
2241
|
}, "strip", z.ZodTypeAny, {
|
|
2120
2242
|
event: {
|
|
2121
2243
|
name: BigCommerceEventNames.CartCreated;
|
|
2244
|
+
} | {
|
|
2245
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2122
2246
|
} | {
|
|
2123
2247
|
name: BigCommerceEventNames.OrderCreated;
|
|
2124
2248
|
} | {
|
|
2125
2249
|
name: BigCommerceEventNames.OrderUpdated;
|
|
2250
|
+
} | {
|
|
2251
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2252
|
+
} | {
|
|
2253
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2126
2254
|
};
|
|
2127
2255
|
callback: string;
|
|
2128
2256
|
provider: "bigcommerce";
|
|
2129
2257
|
}, {
|
|
2130
2258
|
event: {
|
|
2131
2259
|
name: BigCommerceEventNames.CartCreated;
|
|
2260
|
+
} | {
|
|
2261
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2132
2262
|
} | {
|
|
2133
2263
|
name: BigCommerceEventNames.OrderCreated;
|
|
2134
2264
|
} | {
|
|
2135
2265
|
name: BigCommerceEventNames.OrderUpdated;
|
|
2266
|
+
} | {
|
|
2267
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2268
|
+
} | {
|
|
2269
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2136
2270
|
};
|
|
2137
2271
|
callback: string;
|
|
2138
2272
|
provider: "bigcommerce";
|
|
@@ -3144,6 +3278,12 @@ declare const integrationEventsZods: {
|
|
|
3144
3278
|
name: BigCommerceEventNames.CartCreated;
|
|
3145
3279
|
}, {
|
|
3146
3280
|
name: BigCommerceEventNames.CartCreated;
|
|
3281
|
+
}>, z.ZodObject<{
|
|
3282
|
+
name: z.ZodLiteral<BigCommerceEventNames.CartUpdated>;
|
|
3283
|
+
}, "strip", z.ZodTypeAny, {
|
|
3284
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
3285
|
+
}, {
|
|
3286
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
3147
3287
|
}>, z.ZodObject<{
|
|
3148
3288
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
3149
3289
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3156,6 +3296,18 @@ declare const integrationEventsZods: {
|
|
|
3156
3296
|
name: BigCommerceEventNames.OrderUpdated;
|
|
3157
3297
|
}, {
|
|
3158
3298
|
name: BigCommerceEventNames.OrderUpdated;
|
|
3299
|
+
}>, z.ZodObject<{
|
|
3300
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductCreated>;
|
|
3301
|
+
}, "strip", z.ZodTypeAny, {
|
|
3302
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
3303
|
+
}, {
|
|
3304
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
3305
|
+
}>, z.ZodObject<{
|
|
3306
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductUpdated>;
|
|
3307
|
+
}, "strip", z.ZodTypeAny, {
|
|
3308
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
3309
|
+
}, {
|
|
3310
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
3159
3311
|
}>]>]>;
|
|
3160
3312
|
readonly source: z.ZodObject<{
|
|
3161
3313
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
@@ -3375,6 +3527,12 @@ declare const integrationEventsZods: {
|
|
|
3375
3527
|
name: BigCommerceEventNames.CartCreated;
|
|
3376
3528
|
}, {
|
|
3377
3529
|
name: BigCommerceEventNames.CartCreated;
|
|
3530
|
+
}>, z.ZodObject<{
|
|
3531
|
+
name: z.ZodLiteral<BigCommerceEventNames.CartUpdated>;
|
|
3532
|
+
}, "strip", z.ZodTypeAny, {
|
|
3533
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
3534
|
+
}, {
|
|
3535
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
3378
3536
|
}>, z.ZodObject<{
|
|
3379
3537
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
3380
3538
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3387,25 +3545,49 @@ declare const integrationEventsZods: {
|
|
|
3387
3545
|
name: BigCommerceEventNames.OrderUpdated;
|
|
3388
3546
|
}, {
|
|
3389
3547
|
name: BigCommerceEventNames.OrderUpdated;
|
|
3548
|
+
}>, z.ZodObject<{
|
|
3549
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductCreated>;
|
|
3550
|
+
}, "strip", z.ZodTypeAny, {
|
|
3551
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
3552
|
+
}, {
|
|
3553
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
3554
|
+
}>, z.ZodObject<{
|
|
3555
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductUpdated>;
|
|
3556
|
+
}, "strip", z.ZodTypeAny, {
|
|
3557
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
3558
|
+
}, {
|
|
3559
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
3390
3560
|
}>]>;
|
|
3391
3561
|
callback: z.ZodString;
|
|
3392
3562
|
}, "strip", z.ZodTypeAny, {
|
|
3393
3563
|
event: {
|
|
3394
3564
|
name: BigCommerceEventNames.CartCreated;
|
|
3565
|
+
} | {
|
|
3566
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
3395
3567
|
} | {
|
|
3396
3568
|
name: BigCommerceEventNames.OrderCreated;
|
|
3397
3569
|
} | {
|
|
3398
3570
|
name: BigCommerceEventNames.OrderUpdated;
|
|
3571
|
+
} | {
|
|
3572
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
3573
|
+
} | {
|
|
3574
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
3399
3575
|
};
|
|
3400
3576
|
callback: string;
|
|
3401
3577
|
provider: "bigcommerce";
|
|
3402
3578
|
}, {
|
|
3403
3579
|
event: {
|
|
3404
3580
|
name: BigCommerceEventNames.CartCreated;
|
|
3581
|
+
} | {
|
|
3582
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
3405
3583
|
} | {
|
|
3406
3584
|
name: BigCommerceEventNames.OrderCreated;
|
|
3407
3585
|
} | {
|
|
3408
3586
|
name: BigCommerceEventNames.OrderUpdated;
|
|
3587
|
+
} | {
|
|
3588
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
3589
|
+
} | {
|
|
3590
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
3409
3591
|
};
|
|
3410
3592
|
callback: string;
|
|
3411
3593
|
provider: "bigcommerce";
|
|
@@ -4944,10 +5126,16 @@ declare const api: {
|
|
|
4944
5126
|
} & {
|
|
4945
5127
|
event: {
|
|
4946
5128
|
name: BigCommerceEventNames.CartCreated;
|
|
5129
|
+
} | {
|
|
5130
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
4947
5131
|
} | {
|
|
4948
5132
|
name: BigCommerceEventNames.OrderCreated;
|
|
4949
5133
|
} | {
|
|
4950
5134
|
name: BigCommerceEventNames.OrderUpdated;
|
|
5135
|
+
} | {
|
|
5136
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
5137
|
+
} | {
|
|
5138
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
4951
5139
|
};
|
|
4952
5140
|
callback: string;
|
|
4953
5141
|
}, authorization?: BigCommerceClientAuthorization | undefined): Promise<void>;
|
|
@@ -5572,6 +5760,10 @@ declare const api: {
|
|
|
5572
5760
|
}>;
|
|
5573
5761
|
getWorkflowExecutionsList(payload: GetWorkflowPayload, authorization?: PlatformClientAuthorization | undefined): Promise<WorkflowExecution[]>;
|
|
5574
5762
|
getWorkflowExecutionDetails(payload: WorkflowExecutionPayload, authorization?: PlatformClientAuthorization | undefined): Promise<WorkflowExecution>;
|
|
5763
|
+
workflowActivation(payload: {
|
|
5764
|
+
name: string;
|
|
5765
|
+
active: boolean;
|
|
5766
|
+
}, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
|
|
5575
5767
|
};
|
|
5576
5768
|
credentials: {
|
|
5577
5769
|
get(id: string, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<CredentialDto, any>>;
|
|
@@ -5585,6 +5777,9 @@ declare const api: {
|
|
|
5585
5777
|
};
|
|
5586
5778
|
};
|
|
5587
5779
|
};
|
|
5780
|
+
ai: {
|
|
5781
|
+
generateResponses(payload: GenerateResponsePayload, authorization?: PlatformClientAuthorization | undefined): Promise<GenerateResponseResponse>;
|
|
5782
|
+
};
|
|
5588
5783
|
};
|
|
5589
5784
|
};
|
|
5590
5785
|
isInitialized: boolean;
|
|
@@ -5671,4 +5866,4 @@ declare function getIntegrationFlowUrl<TFlowContext, TFlowResult, TState>(name:
|
|
|
5671
5866
|
};
|
|
5672
5867
|
}): Promise<IntegrationFlowOutput<TFlowResult> | undefined>;
|
|
5673
5868
|
|
|
5674
|
-
export { API_NOTIFICATIONS, AccountDto, AccountsApiError, AdapterApiError, 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, BigCommerceClientAuthorization, BigCommerceClientOptions, BigCommerceCreateWebhookPayload, BigCommerceEvent, BigCommerceEventNames, BigCommerceFlowContext, BigCommerceFlowResult, BigCommerceFlows, BigCommerceOrderCreatedWebhookData, BigCommerceOrderUpdatedWebhookData, BigCommerceWebhook, BigCommerceWebhookConcreteData, BigCommerceWebhookData, BigCommerceWebhookDataBase, BigCommerceWebhookScopes, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, BillingProduct, Category, ChatDeactivatedWebhookData, ChatTransferredWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateCredentialPayload, CreateHubSpotWebhookSubscriptionPayload, CreateWorkflowPayload, Credential, CredentialDto, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GetWorkflowPayload, GitHubAuthorizeAppActionResult, GitHubAuthorizeFlowContext, GitHubAuthorizeFlowCustomContext, GitHubAuthorizeFlowResult, GitHubAuthorizeOauthActionResult, GitHubFlowContext, GitHubFlowResult, GitHubFlows, GitHubInstallActionContext, GitHubInstallActionResult, GitHubInstallFlowContext, GitHubInstallFlowCustomContext, GitHubInstallFlowResult, GitHubInstallation, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryIssue, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientAuthorization, GithubClientOptions, HubSpotContactCreationWebhookData, HubSpotContactDeletionWebhookData, HubSpotFlowContext, HubSpotFlowResult, HubSpotFlows, HubSpotWebhookConcreteData, HubSpotWebhookData, HubSpotWebhookDataBase, HubSpotWebhookEventTypes, HubSpotWebhookSettings, HubSpotWebhookSubscription, HubspotApiError, HubspotAuthorizeActionResult, HubspotAuthorizeFlowContext, HubspotAuthorizeFlowCustomContext, HubspotAuthorizeFlowResult, HubspotClientAuthorization, HubspotClientInstanceOptions, HubspotEvent, HubspotEventNames, IncomingChatWebhookData, IncomingEventWebhookData, IntegrationEvent, IntegrationEventProviderName, IntegrationEventSource, IntegrationEventSourceName, IntegrationFlowContext, IntegrationFlowOutput, IntegrationModes, IntegrationNames, IssueLabel, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LiveChatClientAuthorization, LiveChatClientOptions, LiveChatConfigurationApiError, LivechatApiError, MailchimpApiError, MailchimpAuthorizeActionResult, MailchimpAuthorizeFlowContext, MailchimpAuthorizeFlowCustomContext, MailchimpAuthorizeFlowResult, MailchimpClientAuthorization, MailchimpClientInstanceOptions, MailchimpEvent, MailchimpEventNames, MailchimpFlowContext, MailchimpFlowResult, MailchimpFlows, MailchimpListWebhook, MailchimpSubscribeWebhookData, MailchimpUnsubscribeWebhookData, MailchimpWebhookConcreteData, MailchimpWebhookData, MailchimpWebhookDataBase, MailchimpWebhookEvents, MyAccountDto, NeonAuthorizeActionResult, NeonAuthorizeFlowContext, NeonAuthorizeFlowCustomContext, NeonAuthorizeFlowResult, NeonClientAuthorization, NeonClientOptions, NeonFlowContext, NeonFlowResult, NeonFlows, 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, NetlifySite, OAuthCredential, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleAuthorizeActionResult, PlanetScaleAuthorizeFlowContext, PlanetScaleAuthorizeFlowCustomContext, PlanetScaleAuthorizeFlowResult, PlanetScaleClientAuthorization, PlanetScaleClientOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleFlowContext, PlanetScaleFlowResult, PlanetScaleFlows, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientAuthorization, PlatformAdapterClientOptions, PlatformBillingClientAuthorization, PlatformBillingClientOptions, PlatformClientAuthorization, PlatformDpsClientAuthorization, PlatformDpsClientOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, PushAppPayload, PushAppResult, PushAppSaga, PushAppSagaAuthorizationStep, PushAppSagaBaseStep, PushAppSagaDeploymentStep, PushAppSagaDisplayStep, PushAppSagaMonetizationStep, PushAppSagaPropertiesStep, PushAppSagaRepositoryStep, PushAppSagaStorageStep, PushAppSagaWidgetsStep, RemoveAppAuthorizationPayload, RemoveAppMonetizationPayload, RemoveAppPropertiesPayload, RemoveAppPropertyPayload, RemoveAppWidgetPayload, RemoveAppWidgetsPayload, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, 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, ShopifyOrderCreatedWebhookData, ShopifyWebhookConcreteData, ShopifyWebhookData, ShopifyWebhookDataBase, ShopifyWebhookTopics, ShortcutDto, SubscribeToBigCommerceEventPayload, SubscribeToHubspotEventPayload, SubscribeToIntegrationEventPayload, SubscribeToMailchimpEventPayload, SubscribeToShopifyEventPayload, SubscribeToTextLivechatEventPayload, SyncAppVariablePayload, TextApiError, TextAuthorizeActionResult, TextAuthorizeFlowContext, TextAuthorizeFlowCustomContext, TextAuthorizeFlowResult, TextClientAuthorization, TextClientOptions, TextFlowContext, TextFlowResult, TextFlows, TextLiveChatEvent, TextLivechatEventNames, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, TriggerPayload, TriggerType, 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, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppDeploymentPayload, UpsertAppMonetizationPayload, UpsertAppPropertiesPayload, UpsertAppPropertyPayload, UpsertAppRepositoryPayload, UpsertAppResourcePayload, UpsertAppStoragePayload, UpsertAppWidgetPayload, UpsertAppWidgetsPayload, UpsertApplicationChatBoosterPayload, UpsertHubSpotWebhookSettingsPayload, UserAddedToChatWebhookData, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserRemovedFromChatWebhookData, UserVercelIntegrationDto, VercelAuthorizeActionResult, VercelAuthorizeFlowContext, VercelAuthorizeFlowCustomContext, VercelAuthorizeFlowResult, VercelClientAuthorization, VercelClientOptions, VercelConnectActionContext, VercelConnectActionResult, VercelDeploy, VercelFlowContext, VercelFlowResult, VercelFlows, VercelInstallActionContext, VercelInstallActionResult, VercelInstallFlowContext, VercelInstallFlowCustomContext, VercelInstallFlowResult, VercelNamespace, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppPayload, VerifyAppResult, Webhook, WebhookActions, WebhookChat, WebhookConcreteData, WebhookData, WebhookDataBase, WebhookDto, WebhookEvent, WebhookEvents, WebhookMessageEvent, WebhookSystemMessageEvent, WebhookSystemMessages, WebhookUser, WorkflowDefinitionAddNodeTask, WorkflowDefinitionAddTriggerTask, WorkflowDefinitionDto, WorkflowDefinitionForkJoinTask, WorkflowDefinitionHttpTask, WorkflowDefinitionJoinTask, WorkflowDefinitionSwitchTask, WorkflowDefinitionTask, WorkflowDefinitionTaskBase, WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, WorkflowDefinitionTerminateTask, WorkflowDefinitionTriggerTask, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowExecutionPayload, WorkflowsDto, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, bigcommerceEventsZods, getAppAutoReviewPayload, getBigCommerceClientAuthorization, getBigCommerceClientConfig, getBigCommerceClientUrl, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientConfig, getHubspotClientAuthorization, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlOld, getLiveChatClientAuthorization, getLiveChatClientConfig, getMailchimpClientAuthorization, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientAuthorization, getNeonClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientAuthorization, getPlanetScaleClientConfig, getPlatformAccountsClientAuthorization, getPlatformAdapterClientAuthorization, getPlatformAdapterClientConfig, getPlatformAdapterClientDefaultConfig, getPlatformBillingClientAuthorization, getPlatformBillingClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getShopifyClientAuthorization, getShopifyClientConfig, getShopifyClientUrl, getTextClientAuthorization, getTextClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, hubspotClientInstance, hubspotEventsZods, initApi, initBigCommerceClient, initGithubClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initPlatformAdapterClient, initPlatformBillingClient, initPlatformDpsClient, initShopifyClient, initTextClient, initVercelClient, integrationEventsZods, livechatClientInstance, mailchimpClientInstance, mailchimpEventsZods, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformBillingClientInstance, platformDpsClientInstance, shopifyClientInstance, shopifyEventsZods, textClientInstance, textLivechatEventsZods, updateBigCommerceClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updatePlatformAdapterClient, updateShopifyClient, updateTextClient, updateVercelClient, vercelClientInstance };
|
|
5869
|
+
export { API_NOTIFICATIONS, AccountDto, AccountsApiError, AdapterApiError, 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, BigCommerceOrderCreatedWebhookData, BigCommerceOrderUpdatedWebhookData, BigCommerceProductCreatedWebhookData, BigCommerceProductUpdatedWebhookData, BigCommerceWebhook, BigCommerceWebhookConcreteData, BigCommerceWebhookData, BigCommerceWebhookDataBase, BigCommerceWebhookScopes, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, BillingProduct, Category, ChatDeactivatedWebhookData, ChatTransferredWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateCredentialPayload, CreateHubSpotWebhookSubscriptionPayload, CreateWorkflowPayload, Credential, CredentialDto, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, GenerateResponsePayload, GenerateResponseResponse, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GetWorkflowPayload, GitHubAuthorizeAppActionResult, GitHubAuthorizeFlowContext, GitHubAuthorizeFlowCustomContext, GitHubAuthorizeFlowResult, GitHubAuthorizeOauthActionResult, GitHubFlowContext, GitHubFlowResult, GitHubFlows, GitHubInstallActionContext, GitHubInstallActionResult, GitHubInstallFlowContext, GitHubInstallFlowCustomContext, GitHubInstallFlowResult, GitHubInstallation, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryIssue, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientAuthorization, GithubClientOptions, HubSpotContactCreationWebhookData, HubSpotContactDeletionWebhookData, HubSpotFlowContext, HubSpotFlowResult, HubSpotFlows, HubSpotWebhookConcreteData, HubSpotWebhookData, HubSpotWebhookDataBase, HubSpotWebhookEventTypes, HubSpotWebhookSettings, HubSpotWebhookSubscription, HubspotApiError, HubspotAuthorizeActionResult, HubspotAuthorizeFlowContext, HubspotAuthorizeFlowCustomContext, HubspotAuthorizeFlowResult, HubspotClientAuthorization, HubspotClientInstanceOptions, HubspotEvent, HubspotEventNames, IncomingChatWebhookData, IncomingEventWebhookData, IntegrationEvent, IntegrationEventProviderName, IntegrationEventSource, IntegrationEventSourceName, IntegrationFlowContext, IntegrationFlowOutput, IntegrationModes, IntegrationNames, IssueLabel, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LiveChatClientAuthorization, LiveChatClientOptions, LiveChatConfigurationApiError, LivechatApiError, MailchimpApiError, MailchimpAuthorizeActionResult, MailchimpAuthorizeFlowContext, MailchimpAuthorizeFlowCustomContext, MailchimpAuthorizeFlowResult, MailchimpClientAuthorization, MailchimpClientInstanceOptions, MailchimpEvent, MailchimpEventNames, MailchimpFlowContext, MailchimpFlowResult, MailchimpFlows, MailchimpListWebhook, MailchimpSubscribeWebhookData, MailchimpUnsubscribeWebhookData, MailchimpWebhookConcreteData, MailchimpWebhookData, MailchimpWebhookDataBase, MailchimpWebhookEvents, MyAccountDto, NeonAuthorizeActionResult, NeonAuthorizeFlowContext, NeonAuthorizeFlowCustomContext, NeonAuthorizeFlowResult, NeonClientAuthorization, NeonClientOptions, NeonFlowContext, NeonFlowResult, NeonFlows, 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, NetlifySite, OAuthCredential, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleAuthorizeActionResult, PlanetScaleAuthorizeFlowContext, PlanetScaleAuthorizeFlowCustomContext, PlanetScaleAuthorizeFlowResult, PlanetScaleClientAuthorization, PlanetScaleClientOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleFlowContext, PlanetScaleFlowResult, PlanetScaleFlows, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientAuthorization, PlatformAdapterClientOptions, PlatformBillingClientAuthorization, PlatformBillingClientOptions, PlatformClientAuthorization, PlatformDpsClientAuthorization, PlatformDpsClientOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, PushAppPayload, PushAppResult, PushAppSaga, PushAppSagaAuthorizationStep, PushAppSagaBaseStep, PushAppSagaDeploymentStep, PushAppSagaDisplayStep, PushAppSagaMonetizationStep, PushAppSagaPropertiesStep, PushAppSagaRepositoryStep, PushAppSagaStorageStep, PushAppSagaWidgetsStep, RemoveAppAuthorizationPayload, RemoveAppMonetizationPayload, RemoveAppPropertiesPayload, RemoveAppPropertyPayload, RemoveAppWidgetPayload, RemoveAppWidgetsPayload, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, 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, ShopifyOrderCreatedWebhookData, ShopifyWebhookConcreteData, ShopifyWebhookData, ShopifyWebhookDataBase, ShopifyWebhookTopics, ShortcutDto, SubscribeToBigCommerceEventPayload, SubscribeToHubspotEventPayload, SubscribeToIntegrationEventPayload, SubscribeToMailchimpEventPayload, SubscribeToShopifyEventPayload, SubscribeToTextLivechatEventPayload, SyncAppVariablePayload, TextApiError, TextAuthorizeActionResult, TextAuthorizeFlowContext, TextAuthorizeFlowCustomContext, TextAuthorizeFlowResult, TextClientAuthorization, TextClientOptions, TextFlowContext, TextFlowResult, TextFlows, TextLiveChatEvent, TextLivechatEventNames, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, TriggerPayload, TriggerType, 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, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppDeploymentPayload, UpsertAppMonetizationPayload, UpsertAppPropertiesPayload, UpsertAppPropertyPayload, UpsertAppRepositoryPayload, UpsertAppResourcePayload, UpsertAppStoragePayload, UpsertAppWidgetPayload, UpsertAppWidgetsPayload, UpsertApplicationChatBoosterPayload, UpsertHubSpotWebhookSettingsPayload, UserAddedToChatWebhookData, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserRemovedFromChatWebhookData, UserVercelIntegrationDto, VercelAuthorizeActionResult, VercelAuthorizeFlowContext, VercelAuthorizeFlowCustomContext, VercelAuthorizeFlowResult, VercelClientAuthorization, VercelClientOptions, VercelConnectActionContext, VercelConnectActionResult, VercelDeploy, VercelFlowContext, VercelFlowResult, VercelFlows, VercelInstallActionContext, VercelInstallActionResult, VercelInstallFlowContext, VercelInstallFlowCustomContext, VercelInstallFlowResult, VercelNamespace, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppPayload, VerifyAppResult, Webhook, WebhookActions, WebhookChat, WebhookConcreteData, WebhookData, WebhookDataBase, WebhookDto, WebhookEvent, WebhookEvents, WebhookMessageEvent, WebhookSystemMessageEvent, WebhookSystemMessages, WebhookUser, WorkflowDefinitionAddNodeTask, WorkflowDefinitionAddTriggerTask, WorkflowDefinitionDto, WorkflowDefinitionForkJoinTask, WorkflowDefinitionHttpTask, WorkflowDefinitionJoinTask, WorkflowDefinitionSwitchTask, WorkflowDefinitionTask, WorkflowDefinitionTaskBase, WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, WorkflowDefinitionTerminateTask, WorkflowDefinitionTriggerTask, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowExecutionPayload, WorkflowsDto, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, bigcommerceEventsZods, getAppAutoReviewPayload, getBigCommerceClientAuthorization, getBigCommerceClientConfig, getBigCommerceClientUrl, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientConfig, getHubspotClientAuthorization, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlOld, getLiveChatClientAuthorization, getLiveChatClientConfig, getMailchimpClientAuthorization, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientAuthorization, getNeonClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientAuthorization, getPlanetScaleClientConfig, getPlatformAccountsClientAuthorization, getPlatformAdapterClientAuthorization, getPlatformAdapterClientConfig, getPlatformAdapterClientDefaultConfig, getPlatformBillingClientAuthorization, getPlatformBillingClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getShopifyClientAuthorization, getShopifyClientConfig, getShopifyClientUrl, getTextClientAuthorization, getTextClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, hubspotClientInstance, hubspotEventsZods, initApi, initBigCommerceClient, initGithubClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initPlatformAdapterClient, initPlatformBillingClient, initPlatformDpsClient, initShopifyClient, initTextClient, initVercelClient, integrationEventsZods, livechatClientInstance, mailchimpClientInstance, mailchimpEventsZods, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformBillingClientInstance, platformDpsClientInstance, shopifyClientInstance, shopifyEventsZods, textClientInstance, textLivechatEventsZods, updateBigCommerceClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updatePlatformAdapterClient, updateShopifyClient, updateTextClient, updateVercelClient, vercelClientInstance };
|
package/dist/index.d.ts
CHANGED
|
@@ -402,6 +402,7 @@ type TriggerPayload = {
|
|
|
402
402
|
webhook_props: Record<string, string>;
|
|
403
403
|
};
|
|
404
404
|
interface WorkflowsDto {
|
|
405
|
+
active: boolean;
|
|
405
406
|
name: string;
|
|
406
407
|
version: number;
|
|
407
408
|
description: string;
|
|
@@ -409,6 +410,7 @@ interface WorkflowsDto {
|
|
|
409
410
|
created_by: string;
|
|
410
411
|
}
|
|
411
412
|
interface WorkflowDto {
|
|
413
|
+
active: boolean;
|
|
412
414
|
name: string;
|
|
413
415
|
version: number;
|
|
414
416
|
description: string;
|
|
@@ -579,6 +581,21 @@ type DeepPartial<T> = T extends object ? {
|
|
|
579
581
|
type CreateCredentialPayload = Credential;
|
|
580
582
|
type UpdateCredentialPayload = DeepPartial<Credential>;
|
|
581
583
|
|
|
584
|
+
interface GenerateResponsePayload {
|
|
585
|
+
agent_id: string;
|
|
586
|
+
account_id: string;
|
|
587
|
+
organization: string;
|
|
588
|
+
token: string;
|
|
589
|
+
executor: "single-chain";
|
|
590
|
+
messages: {
|
|
591
|
+
value: string;
|
|
592
|
+
}[];
|
|
593
|
+
}
|
|
594
|
+
interface GenerateResponseResponse {
|
|
595
|
+
trace_id: string;
|
|
596
|
+
response: string;
|
|
597
|
+
}
|
|
598
|
+
|
|
582
599
|
type ApiErrorName = "adapter" | "accounts" | "livechat" | "dps" | "github" | "vercel" | "netlify" | "planetscale" | "neon" | "mailchimp" | "shopify" | "hubspot" | "bigcommerce" | "text";
|
|
583
600
|
type ApiErrorSource = "accounts" | "github" | "vercel" | "netlify" | "planetscale" | "neon" | "mailchimp" | "shopify" | "hubspot" | "bigcommerce" | "text";
|
|
584
601
|
type ApiErrorKind = "unauthorized" | "error";
|
|
@@ -1071,8 +1088,11 @@ declare function updateHubspotClient(token?: string): void;
|
|
|
1071
1088
|
|
|
1072
1089
|
declare enum BigCommerceWebhookScopes {
|
|
1073
1090
|
CartCreated = "store/cart/created",
|
|
1091
|
+
CartUpdated = "store/cart/updated",
|
|
1074
1092
|
OrderCreated = "store/order/created",
|
|
1075
|
-
OrderUpdated = "store/order/updated"
|
|
1093
|
+
OrderUpdated = "store/order/updated",
|
|
1094
|
+
ProductCreated = "store/product/created",
|
|
1095
|
+
ProductUpdated = "store/product/updated"
|
|
1076
1096
|
}
|
|
1077
1097
|
interface BigCommerceWebhook {
|
|
1078
1098
|
id: number;
|
|
@@ -1099,9 +1119,21 @@ type BigCommerceCartCreatedWebhookData = BigCommerceWebhookConcreteData<BigComme
|
|
|
1099
1119
|
type: "cart";
|
|
1100
1120
|
id: string;
|
|
1101
1121
|
}>;
|
|
1122
|
+
type BigCommerceCartUpdatedWebhookData = BigCommerceWebhookConcreteData<BigCommerceWebhookScopes.CartUpdated, {
|
|
1123
|
+
type: "cart";
|
|
1124
|
+
id: string;
|
|
1125
|
+
}>;
|
|
1102
1126
|
type BigCommerceOrderCreatedWebhookData = BigCommerceWebhookConcreteData<BigCommerceWebhookScopes.OrderCreated, IOrder>;
|
|
1103
1127
|
type BigCommerceOrderUpdatedWebhookData = BigCommerceWebhookConcreteData<BigCommerceWebhookScopes.OrderUpdated, IOrder>;
|
|
1104
|
-
type
|
|
1128
|
+
type BigCommerceProductCreatedWebhookData = BigCommerceWebhookConcreteData<BigCommerceWebhookScopes.ProductCreated, {
|
|
1129
|
+
type: "cart";
|
|
1130
|
+
id: string;
|
|
1131
|
+
}>;
|
|
1132
|
+
type BigCommerceProductUpdatedWebhookData = BigCommerceWebhookConcreteData<BigCommerceWebhookScopes.ProductUpdated, {
|
|
1133
|
+
type: "product";
|
|
1134
|
+
id: string;
|
|
1135
|
+
}>;
|
|
1136
|
+
type BigCommerceWebhookData = BigCommerceCartCreatedWebhookData | BigCommerceOrderCreatedWebhookData | BigCommerceOrderUpdatedWebhookData | BigCommerceProductCreatedWebhookData | BigCommerceProductUpdatedWebhookData;
|
|
1105
1137
|
interface BigCommerceCreateWebhookPayload {
|
|
1106
1138
|
scope: BigCommerceWebhookScopes;
|
|
1107
1139
|
destination: string;
|
|
@@ -1986,8 +2018,11 @@ type BigCommerceFlowResult<TAction extends BigCommerceFlows> = TAction extends "
|
|
|
1986
2018
|
|
|
1987
2019
|
declare enum BigCommerceEventNames {
|
|
1988
2020
|
CartCreated = "cart_created",
|
|
2021
|
+
CartUpdated = "cart_updated",
|
|
1989
2022
|
OrderCreated = "order_created",
|
|
1990
|
-
OrderUpdated = "order_updated"
|
|
2023
|
+
OrderUpdated = "order_updated",
|
|
2024
|
+
ProductCreated = "product_created",
|
|
2025
|
+
ProductUpdated = "product_updated"
|
|
1991
2026
|
}
|
|
1992
2027
|
|
|
1993
2028
|
declare const bigcommerceEventsZods: {
|
|
@@ -2001,6 +2036,13 @@ declare const bigcommerceEventsZods: {
|
|
|
2001
2036
|
}, {
|
|
2002
2037
|
name: BigCommerceEventNames.CartCreated;
|
|
2003
2038
|
}>;
|
|
2039
|
+
cartUpdated: z.ZodObject<{
|
|
2040
|
+
name: z.ZodLiteral<BigCommerceEventNames.CartUpdated>;
|
|
2041
|
+
}, "strip", z.ZodTypeAny, {
|
|
2042
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2043
|
+
}, {
|
|
2044
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2045
|
+
}>;
|
|
2004
2046
|
orderCreated: z.ZodObject<{
|
|
2005
2047
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
2006
2048
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2015,6 +2057,20 @@ declare const bigcommerceEventsZods: {
|
|
|
2015
2057
|
}, {
|
|
2016
2058
|
name: BigCommerceEventNames.OrderUpdated;
|
|
2017
2059
|
}>;
|
|
2060
|
+
productCreated: z.ZodObject<{
|
|
2061
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductCreated>;
|
|
2062
|
+
}, "strip", z.ZodTypeAny, {
|
|
2063
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2064
|
+
}, {
|
|
2065
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2066
|
+
}>;
|
|
2067
|
+
productUpdated: z.ZodObject<{
|
|
2068
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductUpdated>;
|
|
2069
|
+
}, "strip", z.ZodTypeAny, {
|
|
2070
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2071
|
+
}, {
|
|
2072
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2073
|
+
}>;
|
|
2018
2074
|
};
|
|
2019
2075
|
readonly event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2020
2076
|
name: z.ZodLiteral<BigCommerceEventNames.CartCreated>;
|
|
@@ -2022,6 +2078,12 @@ declare const bigcommerceEventsZods: {
|
|
|
2022
2078
|
name: BigCommerceEventNames.CartCreated;
|
|
2023
2079
|
}, {
|
|
2024
2080
|
name: BigCommerceEventNames.CartCreated;
|
|
2081
|
+
}>, z.ZodObject<{
|
|
2082
|
+
name: z.ZodLiteral<BigCommerceEventNames.CartUpdated>;
|
|
2083
|
+
}, "strip", z.ZodTypeAny, {
|
|
2084
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2085
|
+
}, {
|
|
2086
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2025
2087
|
}>, z.ZodObject<{
|
|
2026
2088
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
2027
2089
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2034,6 +2096,18 @@ declare const bigcommerceEventsZods: {
|
|
|
2034
2096
|
name: BigCommerceEventNames.OrderUpdated;
|
|
2035
2097
|
}, {
|
|
2036
2098
|
name: BigCommerceEventNames.OrderUpdated;
|
|
2099
|
+
}>, z.ZodObject<{
|
|
2100
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductCreated>;
|
|
2101
|
+
}, "strip", z.ZodTypeAny, {
|
|
2102
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2103
|
+
}, {
|
|
2104
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2105
|
+
}>, z.ZodObject<{
|
|
2106
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductUpdated>;
|
|
2107
|
+
}, "strip", z.ZodTypeAny, {
|
|
2108
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2109
|
+
}, {
|
|
2110
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2037
2111
|
}>]>;
|
|
2038
2112
|
readonly source: z.ZodObject<{
|
|
2039
2113
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
@@ -2061,6 +2135,12 @@ declare const bigcommerceEventsZods: {
|
|
|
2061
2135
|
name: BigCommerceEventNames.CartCreated;
|
|
2062
2136
|
}, {
|
|
2063
2137
|
name: BigCommerceEventNames.CartCreated;
|
|
2138
|
+
}>, z.ZodObject<{
|
|
2139
|
+
name: z.ZodLiteral<BigCommerceEventNames.CartUpdated>;
|
|
2140
|
+
}, "strip", z.ZodTypeAny, {
|
|
2141
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2142
|
+
}, {
|
|
2143
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2064
2144
|
}>, z.ZodObject<{
|
|
2065
2145
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
2066
2146
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2073,24 +2153,48 @@ declare const bigcommerceEventsZods: {
|
|
|
2073
2153
|
name: BigCommerceEventNames.OrderUpdated;
|
|
2074
2154
|
}, {
|
|
2075
2155
|
name: BigCommerceEventNames.OrderUpdated;
|
|
2156
|
+
}>, z.ZodObject<{
|
|
2157
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductCreated>;
|
|
2158
|
+
}, "strip", z.ZodTypeAny, {
|
|
2159
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2160
|
+
}, {
|
|
2161
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2162
|
+
}>, z.ZodObject<{
|
|
2163
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductUpdated>;
|
|
2164
|
+
}, "strip", z.ZodTypeAny, {
|
|
2165
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2166
|
+
}, {
|
|
2167
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2076
2168
|
}>]>;
|
|
2077
2169
|
callback: z.ZodString;
|
|
2078
2170
|
}, "strip", z.ZodTypeAny, {
|
|
2079
2171
|
event: {
|
|
2080
2172
|
name: BigCommerceEventNames.CartCreated;
|
|
2173
|
+
} | {
|
|
2174
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2081
2175
|
} | {
|
|
2082
2176
|
name: BigCommerceEventNames.OrderCreated;
|
|
2083
2177
|
} | {
|
|
2084
2178
|
name: BigCommerceEventNames.OrderUpdated;
|
|
2179
|
+
} | {
|
|
2180
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2181
|
+
} | {
|
|
2182
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2085
2183
|
};
|
|
2086
2184
|
callback: string;
|
|
2087
2185
|
}, {
|
|
2088
2186
|
event: {
|
|
2089
2187
|
name: BigCommerceEventNames.CartCreated;
|
|
2188
|
+
} | {
|
|
2189
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2090
2190
|
} | {
|
|
2091
2191
|
name: BigCommerceEventNames.OrderCreated;
|
|
2092
2192
|
} | {
|
|
2093
2193
|
name: BigCommerceEventNames.OrderUpdated;
|
|
2194
|
+
} | {
|
|
2195
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2196
|
+
} | {
|
|
2197
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2094
2198
|
};
|
|
2095
2199
|
callback: string;
|
|
2096
2200
|
}>>;
|
|
@@ -2102,6 +2206,12 @@ declare const bigcommerceEventsZods: {
|
|
|
2102
2206
|
name: BigCommerceEventNames.CartCreated;
|
|
2103
2207
|
}, {
|
|
2104
2208
|
name: BigCommerceEventNames.CartCreated;
|
|
2209
|
+
}>, z.ZodObject<{
|
|
2210
|
+
name: z.ZodLiteral<BigCommerceEventNames.CartUpdated>;
|
|
2211
|
+
}, "strip", z.ZodTypeAny, {
|
|
2212
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2213
|
+
}, {
|
|
2214
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2105
2215
|
}>, z.ZodObject<{
|
|
2106
2216
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
2107
2217
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2114,25 +2224,49 @@ declare const bigcommerceEventsZods: {
|
|
|
2114
2224
|
name: BigCommerceEventNames.OrderUpdated;
|
|
2115
2225
|
}, {
|
|
2116
2226
|
name: BigCommerceEventNames.OrderUpdated;
|
|
2227
|
+
}>, z.ZodObject<{
|
|
2228
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductCreated>;
|
|
2229
|
+
}, "strip", z.ZodTypeAny, {
|
|
2230
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2231
|
+
}, {
|
|
2232
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2233
|
+
}>, z.ZodObject<{
|
|
2234
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductUpdated>;
|
|
2235
|
+
}, "strip", z.ZodTypeAny, {
|
|
2236
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2237
|
+
}, {
|
|
2238
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2117
2239
|
}>]>;
|
|
2118
2240
|
callback: z.ZodString;
|
|
2119
2241
|
}, "strip", z.ZodTypeAny, {
|
|
2120
2242
|
event: {
|
|
2121
2243
|
name: BigCommerceEventNames.CartCreated;
|
|
2244
|
+
} | {
|
|
2245
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2122
2246
|
} | {
|
|
2123
2247
|
name: BigCommerceEventNames.OrderCreated;
|
|
2124
2248
|
} | {
|
|
2125
2249
|
name: BigCommerceEventNames.OrderUpdated;
|
|
2250
|
+
} | {
|
|
2251
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2252
|
+
} | {
|
|
2253
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2126
2254
|
};
|
|
2127
2255
|
callback: string;
|
|
2128
2256
|
provider: "bigcommerce";
|
|
2129
2257
|
}, {
|
|
2130
2258
|
event: {
|
|
2131
2259
|
name: BigCommerceEventNames.CartCreated;
|
|
2260
|
+
} | {
|
|
2261
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
2132
2262
|
} | {
|
|
2133
2263
|
name: BigCommerceEventNames.OrderCreated;
|
|
2134
2264
|
} | {
|
|
2135
2265
|
name: BigCommerceEventNames.OrderUpdated;
|
|
2266
|
+
} | {
|
|
2267
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
2268
|
+
} | {
|
|
2269
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
2136
2270
|
};
|
|
2137
2271
|
callback: string;
|
|
2138
2272
|
provider: "bigcommerce";
|
|
@@ -3144,6 +3278,12 @@ declare const integrationEventsZods: {
|
|
|
3144
3278
|
name: BigCommerceEventNames.CartCreated;
|
|
3145
3279
|
}, {
|
|
3146
3280
|
name: BigCommerceEventNames.CartCreated;
|
|
3281
|
+
}>, z.ZodObject<{
|
|
3282
|
+
name: z.ZodLiteral<BigCommerceEventNames.CartUpdated>;
|
|
3283
|
+
}, "strip", z.ZodTypeAny, {
|
|
3284
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
3285
|
+
}, {
|
|
3286
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
3147
3287
|
}>, z.ZodObject<{
|
|
3148
3288
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
3149
3289
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3156,6 +3296,18 @@ declare const integrationEventsZods: {
|
|
|
3156
3296
|
name: BigCommerceEventNames.OrderUpdated;
|
|
3157
3297
|
}, {
|
|
3158
3298
|
name: BigCommerceEventNames.OrderUpdated;
|
|
3299
|
+
}>, z.ZodObject<{
|
|
3300
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductCreated>;
|
|
3301
|
+
}, "strip", z.ZodTypeAny, {
|
|
3302
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
3303
|
+
}, {
|
|
3304
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
3305
|
+
}>, z.ZodObject<{
|
|
3306
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductUpdated>;
|
|
3307
|
+
}, "strip", z.ZodTypeAny, {
|
|
3308
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
3309
|
+
}, {
|
|
3310
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
3159
3311
|
}>]>]>;
|
|
3160
3312
|
readonly source: z.ZodObject<{
|
|
3161
3313
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
@@ -3375,6 +3527,12 @@ declare const integrationEventsZods: {
|
|
|
3375
3527
|
name: BigCommerceEventNames.CartCreated;
|
|
3376
3528
|
}, {
|
|
3377
3529
|
name: BigCommerceEventNames.CartCreated;
|
|
3530
|
+
}>, z.ZodObject<{
|
|
3531
|
+
name: z.ZodLiteral<BigCommerceEventNames.CartUpdated>;
|
|
3532
|
+
}, "strip", z.ZodTypeAny, {
|
|
3533
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
3534
|
+
}, {
|
|
3535
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
3378
3536
|
}>, z.ZodObject<{
|
|
3379
3537
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
3380
3538
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3387,25 +3545,49 @@ declare const integrationEventsZods: {
|
|
|
3387
3545
|
name: BigCommerceEventNames.OrderUpdated;
|
|
3388
3546
|
}, {
|
|
3389
3547
|
name: BigCommerceEventNames.OrderUpdated;
|
|
3548
|
+
}>, z.ZodObject<{
|
|
3549
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductCreated>;
|
|
3550
|
+
}, "strip", z.ZodTypeAny, {
|
|
3551
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
3552
|
+
}, {
|
|
3553
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
3554
|
+
}>, z.ZodObject<{
|
|
3555
|
+
name: z.ZodLiteral<BigCommerceEventNames.ProductUpdated>;
|
|
3556
|
+
}, "strip", z.ZodTypeAny, {
|
|
3557
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
3558
|
+
}, {
|
|
3559
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
3390
3560
|
}>]>;
|
|
3391
3561
|
callback: z.ZodString;
|
|
3392
3562
|
}, "strip", z.ZodTypeAny, {
|
|
3393
3563
|
event: {
|
|
3394
3564
|
name: BigCommerceEventNames.CartCreated;
|
|
3565
|
+
} | {
|
|
3566
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
3395
3567
|
} | {
|
|
3396
3568
|
name: BigCommerceEventNames.OrderCreated;
|
|
3397
3569
|
} | {
|
|
3398
3570
|
name: BigCommerceEventNames.OrderUpdated;
|
|
3571
|
+
} | {
|
|
3572
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
3573
|
+
} | {
|
|
3574
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
3399
3575
|
};
|
|
3400
3576
|
callback: string;
|
|
3401
3577
|
provider: "bigcommerce";
|
|
3402
3578
|
}, {
|
|
3403
3579
|
event: {
|
|
3404
3580
|
name: BigCommerceEventNames.CartCreated;
|
|
3581
|
+
} | {
|
|
3582
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
3405
3583
|
} | {
|
|
3406
3584
|
name: BigCommerceEventNames.OrderCreated;
|
|
3407
3585
|
} | {
|
|
3408
3586
|
name: BigCommerceEventNames.OrderUpdated;
|
|
3587
|
+
} | {
|
|
3588
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
3589
|
+
} | {
|
|
3590
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
3409
3591
|
};
|
|
3410
3592
|
callback: string;
|
|
3411
3593
|
provider: "bigcommerce";
|
|
@@ -4944,10 +5126,16 @@ declare const api: {
|
|
|
4944
5126
|
} & {
|
|
4945
5127
|
event: {
|
|
4946
5128
|
name: BigCommerceEventNames.CartCreated;
|
|
5129
|
+
} | {
|
|
5130
|
+
name: BigCommerceEventNames.CartUpdated;
|
|
4947
5131
|
} | {
|
|
4948
5132
|
name: BigCommerceEventNames.OrderCreated;
|
|
4949
5133
|
} | {
|
|
4950
5134
|
name: BigCommerceEventNames.OrderUpdated;
|
|
5135
|
+
} | {
|
|
5136
|
+
name: BigCommerceEventNames.ProductCreated;
|
|
5137
|
+
} | {
|
|
5138
|
+
name: BigCommerceEventNames.ProductUpdated;
|
|
4951
5139
|
};
|
|
4952
5140
|
callback: string;
|
|
4953
5141
|
}, authorization?: BigCommerceClientAuthorization | undefined): Promise<void>;
|
|
@@ -5572,6 +5760,10 @@ declare const api: {
|
|
|
5572
5760
|
}>;
|
|
5573
5761
|
getWorkflowExecutionsList(payload: GetWorkflowPayload, authorization?: PlatformClientAuthorization | undefined): Promise<WorkflowExecution[]>;
|
|
5574
5762
|
getWorkflowExecutionDetails(payload: WorkflowExecutionPayload, authorization?: PlatformClientAuthorization | undefined): Promise<WorkflowExecution>;
|
|
5763
|
+
workflowActivation(payload: {
|
|
5764
|
+
name: string;
|
|
5765
|
+
active: boolean;
|
|
5766
|
+
}, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
|
|
5575
5767
|
};
|
|
5576
5768
|
credentials: {
|
|
5577
5769
|
get(id: string, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<CredentialDto, any>>;
|
|
@@ -5585,6 +5777,9 @@ declare const api: {
|
|
|
5585
5777
|
};
|
|
5586
5778
|
};
|
|
5587
5779
|
};
|
|
5780
|
+
ai: {
|
|
5781
|
+
generateResponses(payload: GenerateResponsePayload, authorization?: PlatformClientAuthorization | undefined): Promise<GenerateResponseResponse>;
|
|
5782
|
+
};
|
|
5588
5783
|
};
|
|
5589
5784
|
};
|
|
5590
5785
|
isInitialized: boolean;
|
|
@@ -5671,4 +5866,4 @@ declare function getIntegrationFlowUrl<TFlowContext, TFlowResult, TState>(name:
|
|
|
5671
5866
|
};
|
|
5672
5867
|
}): Promise<IntegrationFlowOutput<TFlowResult> | undefined>;
|
|
5673
5868
|
|
|
5674
|
-
export { API_NOTIFICATIONS, AccountDto, AccountsApiError, AdapterApiError, 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, BigCommerceClientAuthorization, BigCommerceClientOptions, BigCommerceCreateWebhookPayload, BigCommerceEvent, BigCommerceEventNames, BigCommerceFlowContext, BigCommerceFlowResult, BigCommerceFlows, BigCommerceOrderCreatedWebhookData, BigCommerceOrderUpdatedWebhookData, BigCommerceWebhook, BigCommerceWebhookConcreteData, BigCommerceWebhookData, BigCommerceWebhookDataBase, BigCommerceWebhookScopes, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, BillingProduct, Category, ChatDeactivatedWebhookData, ChatTransferredWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateCredentialPayload, CreateHubSpotWebhookSubscriptionPayload, CreateWorkflowPayload, Credential, CredentialDto, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GetWorkflowPayload, GitHubAuthorizeAppActionResult, GitHubAuthorizeFlowContext, GitHubAuthorizeFlowCustomContext, GitHubAuthorizeFlowResult, GitHubAuthorizeOauthActionResult, GitHubFlowContext, GitHubFlowResult, GitHubFlows, GitHubInstallActionContext, GitHubInstallActionResult, GitHubInstallFlowContext, GitHubInstallFlowCustomContext, GitHubInstallFlowResult, GitHubInstallation, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryIssue, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientAuthorization, GithubClientOptions, HubSpotContactCreationWebhookData, HubSpotContactDeletionWebhookData, HubSpotFlowContext, HubSpotFlowResult, HubSpotFlows, HubSpotWebhookConcreteData, HubSpotWebhookData, HubSpotWebhookDataBase, HubSpotWebhookEventTypes, HubSpotWebhookSettings, HubSpotWebhookSubscription, HubspotApiError, HubspotAuthorizeActionResult, HubspotAuthorizeFlowContext, HubspotAuthorizeFlowCustomContext, HubspotAuthorizeFlowResult, HubspotClientAuthorization, HubspotClientInstanceOptions, HubspotEvent, HubspotEventNames, IncomingChatWebhookData, IncomingEventWebhookData, IntegrationEvent, IntegrationEventProviderName, IntegrationEventSource, IntegrationEventSourceName, IntegrationFlowContext, IntegrationFlowOutput, IntegrationModes, IntegrationNames, IssueLabel, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LiveChatClientAuthorization, LiveChatClientOptions, LiveChatConfigurationApiError, LivechatApiError, MailchimpApiError, MailchimpAuthorizeActionResult, MailchimpAuthorizeFlowContext, MailchimpAuthorizeFlowCustomContext, MailchimpAuthorizeFlowResult, MailchimpClientAuthorization, MailchimpClientInstanceOptions, MailchimpEvent, MailchimpEventNames, MailchimpFlowContext, MailchimpFlowResult, MailchimpFlows, MailchimpListWebhook, MailchimpSubscribeWebhookData, MailchimpUnsubscribeWebhookData, MailchimpWebhookConcreteData, MailchimpWebhookData, MailchimpWebhookDataBase, MailchimpWebhookEvents, MyAccountDto, NeonAuthorizeActionResult, NeonAuthorizeFlowContext, NeonAuthorizeFlowCustomContext, NeonAuthorizeFlowResult, NeonClientAuthorization, NeonClientOptions, NeonFlowContext, NeonFlowResult, NeonFlows, 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, NetlifySite, OAuthCredential, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleAuthorizeActionResult, PlanetScaleAuthorizeFlowContext, PlanetScaleAuthorizeFlowCustomContext, PlanetScaleAuthorizeFlowResult, PlanetScaleClientAuthorization, PlanetScaleClientOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleFlowContext, PlanetScaleFlowResult, PlanetScaleFlows, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientAuthorization, PlatformAdapterClientOptions, PlatformBillingClientAuthorization, PlatformBillingClientOptions, PlatformClientAuthorization, PlatformDpsClientAuthorization, PlatformDpsClientOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, PushAppPayload, PushAppResult, PushAppSaga, PushAppSagaAuthorizationStep, PushAppSagaBaseStep, PushAppSagaDeploymentStep, PushAppSagaDisplayStep, PushAppSagaMonetizationStep, PushAppSagaPropertiesStep, PushAppSagaRepositoryStep, PushAppSagaStorageStep, PushAppSagaWidgetsStep, RemoveAppAuthorizationPayload, RemoveAppMonetizationPayload, RemoveAppPropertiesPayload, RemoveAppPropertyPayload, RemoveAppWidgetPayload, RemoveAppWidgetsPayload, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, 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, ShopifyOrderCreatedWebhookData, ShopifyWebhookConcreteData, ShopifyWebhookData, ShopifyWebhookDataBase, ShopifyWebhookTopics, ShortcutDto, SubscribeToBigCommerceEventPayload, SubscribeToHubspotEventPayload, SubscribeToIntegrationEventPayload, SubscribeToMailchimpEventPayload, SubscribeToShopifyEventPayload, SubscribeToTextLivechatEventPayload, SyncAppVariablePayload, TextApiError, TextAuthorizeActionResult, TextAuthorizeFlowContext, TextAuthorizeFlowCustomContext, TextAuthorizeFlowResult, TextClientAuthorization, TextClientOptions, TextFlowContext, TextFlowResult, TextFlows, TextLiveChatEvent, TextLivechatEventNames, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, TriggerPayload, TriggerType, 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, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppDeploymentPayload, UpsertAppMonetizationPayload, UpsertAppPropertiesPayload, UpsertAppPropertyPayload, UpsertAppRepositoryPayload, UpsertAppResourcePayload, UpsertAppStoragePayload, UpsertAppWidgetPayload, UpsertAppWidgetsPayload, UpsertApplicationChatBoosterPayload, UpsertHubSpotWebhookSettingsPayload, UserAddedToChatWebhookData, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserRemovedFromChatWebhookData, UserVercelIntegrationDto, VercelAuthorizeActionResult, VercelAuthorizeFlowContext, VercelAuthorizeFlowCustomContext, VercelAuthorizeFlowResult, VercelClientAuthorization, VercelClientOptions, VercelConnectActionContext, VercelConnectActionResult, VercelDeploy, VercelFlowContext, VercelFlowResult, VercelFlows, VercelInstallActionContext, VercelInstallActionResult, VercelInstallFlowContext, VercelInstallFlowCustomContext, VercelInstallFlowResult, VercelNamespace, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppPayload, VerifyAppResult, Webhook, WebhookActions, WebhookChat, WebhookConcreteData, WebhookData, WebhookDataBase, WebhookDto, WebhookEvent, WebhookEvents, WebhookMessageEvent, WebhookSystemMessageEvent, WebhookSystemMessages, WebhookUser, WorkflowDefinitionAddNodeTask, WorkflowDefinitionAddTriggerTask, WorkflowDefinitionDto, WorkflowDefinitionForkJoinTask, WorkflowDefinitionHttpTask, WorkflowDefinitionJoinTask, WorkflowDefinitionSwitchTask, WorkflowDefinitionTask, WorkflowDefinitionTaskBase, WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, WorkflowDefinitionTerminateTask, WorkflowDefinitionTriggerTask, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowExecutionPayload, WorkflowsDto, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, bigcommerceEventsZods, getAppAutoReviewPayload, getBigCommerceClientAuthorization, getBigCommerceClientConfig, getBigCommerceClientUrl, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientConfig, getHubspotClientAuthorization, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlOld, getLiveChatClientAuthorization, getLiveChatClientConfig, getMailchimpClientAuthorization, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientAuthorization, getNeonClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientAuthorization, getPlanetScaleClientConfig, getPlatformAccountsClientAuthorization, getPlatformAdapterClientAuthorization, getPlatformAdapterClientConfig, getPlatformAdapterClientDefaultConfig, getPlatformBillingClientAuthorization, getPlatformBillingClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getShopifyClientAuthorization, getShopifyClientConfig, getShopifyClientUrl, getTextClientAuthorization, getTextClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, hubspotClientInstance, hubspotEventsZods, initApi, initBigCommerceClient, initGithubClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initPlatformAdapterClient, initPlatformBillingClient, initPlatformDpsClient, initShopifyClient, initTextClient, initVercelClient, integrationEventsZods, livechatClientInstance, mailchimpClientInstance, mailchimpEventsZods, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformBillingClientInstance, platformDpsClientInstance, shopifyClientInstance, shopifyEventsZods, textClientInstance, textLivechatEventsZods, updateBigCommerceClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updatePlatformAdapterClient, updateShopifyClient, updateTextClient, updateVercelClient, vercelClientInstance };
|
|
5869
|
+
export { API_NOTIFICATIONS, AccountDto, AccountsApiError, AdapterApiError, 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, BigCommerceOrderCreatedWebhookData, BigCommerceOrderUpdatedWebhookData, BigCommerceProductCreatedWebhookData, BigCommerceProductUpdatedWebhookData, BigCommerceWebhook, BigCommerceWebhookConcreteData, BigCommerceWebhookData, BigCommerceWebhookDataBase, BigCommerceWebhookScopes, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, BillingProduct, Category, ChatDeactivatedWebhookData, ChatTransferredWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateCredentialPayload, CreateHubSpotWebhookSubscriptionPayload, CreateWorkflowPayload, Credential, CredentialDto, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, GenerateResponsePayload, GenerateResponseResponse, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GetWorkflowPayload, GitHubAuthorizeAppActionResult, GitHubAuthorizeFlowContext, GitHubAuthorizeFlowCustomContext, GitHubAuthorizeFlowResult, GitHubAuthorizeOauthActionResult, GitHubFlowContext, GitHubFlowResult, GitHubFlows, GitHubInstallActionContext, GitHubInstallActionResult, GitHubInstallFlowContext, GitHubInstallFlowCustomContext, GitHubInstallFlowResult, GitHubInstallation, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryIssue, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientAuthorization, GithubClientOptions, HubSpotContactCreationWebhookData, HubSpotContactDeletionWebhookData, HubSpotFlowContext, HubSpotFlowResult, HubSpotFlows, HubSpotWebhookConcreteData, HubSpotWebhookData, HubSpotWebhookDataBase, HubSpotWebhookEventTypes, HubSpotWebhookSettings, HubSpotWebhookSubscription, HubspotApiError, HubspotAuthorizeActionResult, HubspotAuthorizeFlowContext, HubspotAuthorizeFlowCustomContext, HubspotAuthorizeFlowResult, HubspotClientAuthorization, HubspotClientInstanceOptions, HubspotEvent, HubspotEventNames, IncomingChatWebhookData, IncomingEventWebhookData, IntegrationEvent, IntegrationEventProviderName, IntegrationEventSource, IntegrationEventSourceName, IntegrationFlowContext, IntegrationFlowOutput, IntegrationModes, IntegrationNames, IssueLabel, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LiveChatClientAuthorization, LiveChatClientOptions, LiveChatConfigurationApiError, LivechatApiError, MailchimpApiError, MailchimpAuthorizeActionResult, MailchimpAuthorizeFlowContext, MailchimpAuthorizeFlowCustomContext, MailchimpAuthorizeFlowResult, MailchimpClientAuthorization, MailchimpClientInstanceOptions, MailchimpEvent, MailchimpEventNames, MailchimpFlowContext, MailchimpFlowResult, MailchimpFlows, MailchimpListWebhook, MailchimpSubscribeWebhookData, MailchimpUnsubscribeWebhookData, MailchimpWebhookConcreteData, MailchimpWebhookData, MailchimpWebhookDataBase, MailchimpWebhookEvents, MyAccountDto, NeonAuthorizeActionResult, NeonAuthorizeFlowContext, NeonAuthorizeFlowCustomContext, NeonAuthorizeFlowResult, NeonClientAuthorization, NeonClientOptions, NeonFlowContext, NeonFlowResult, NeonFlows, 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, NetlifySite, OAuthCredential, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleAuthorizeActionResult, PlanetScaleAuthorizeFlowContext, PlanetScaleAuthorizeFlowCustomContext, PlanetScaleAuthorizeFlowResult, PlanetScaleClientAuthorization, PlanetScaleClientOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleFlowContext, PlanetScaleFlowResult, PlanetScaleFlows, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientAuthorization, PlatformAdapterClientOptions, PlatformBillingClientAuthorization, PlatformBillingClientOptions, PlatformClientAuthorization, PlatformDpsClientAuthorization, PlatformDpsClientOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, PushAppPayload, PushAppResult, PushAppSaga, PushAppSagaAuthorizationStep, PushAppSagaBaseStep, PushAppSagaDeploymentStep, PushAppSagaDisplayStep, PushAppSagaMonetizationStep, PushAppSagaPropertiesStep, PushAppSagaRepositoryStep, PushAppSagaStorageStep, PushAppSagaWidgetsStep, RemoveAppAuthorizationPayload, RemoveAppMonetizationPayload, RemoveAppPropertiesPayload, RemoveAppPropertyPayload, RemoveAppWidgetPayload, RemoveAppWidgetsPayload, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, 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, ShopifyOrderCreatedWebhookData, ShopifyWebhookConcreteData, ShopifyWebhookData, ShopifyWebhookDataBase, ShopifyWebhookTopics, ShortcutDto, SubscribeToBigCommerceEventPayload, SubscribeToHubspotEventPayload, SubscribeToIntegrationEventPayload, SubscribeToMailchimpEventPayload, SubscribeToShopifyEventPayload, SubscribeToTextLivechatEventPayload, SyncAppVariablePayload, TextApiError, TextAuthorizeActionResult, TextAuthorizeFlowContext, TextAuthorizeFlowCustomContext, TextAuthorizeFlowResult, TextClientAuthorization, TextClientOptions, TextFlowContext, TextFlowResult, TextFlows, TextLiveChatEvent, TextLivechatEventNames, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, TriggerPayload, TriggerType, 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, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppDeploymentPayload, UpsertAppMonetizationPayload, UpsertAppPropertiesPayload, UpsertAppPropertyPayload, UpsertAppRepositoryPayload, UpsertAppResourcePayload, UpsertAppStoragePayload, UpsertAppWidgetPayload, UpsertAppWidgetsPayload, UpsertApplicationChatBoosterPayload, UpsertHubSpotWebhookSettingsPayload, UserAddedToChatWebhookData, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserRemovedFromChatWebhookData, UserVercelIntegrationDto, VercelAuthorizeActionResult, VercelAuthorizeFlowContext, VercelAuthorizeFlowCustomContext, VercelAuthorizeFlowResult, VercelClientAuthorization, VercelClientOptions, VercelConnectActionContext, VercelConnectActionResult, VercelDeploy, VercelFlowContext, VercelFlowResult, VercelFlows, VercelInstallActionContext, VercelInstallActionResult, VercelInstallFlowContext, VercelInstallFlowCustomContext, VercelInstallFlowResult, VercelNamespace, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppPayload, VerifyAppResult, Webhook, WebhookActions, WebhookChat, WebhookConcreteData, WebhookData, WebhookDataBase, WebhookDto, WebhookEvent, WebhookEvents, WebhookMessageEvent, WebhookSystemMessageEvent, WebhookSystemMessages, WebhookUser, WorkflowDefinitionAddNodeTask, WorkflowDefinitionAddTriggerTask, WorkflowDefinitionDto, WorkflowDefinitionForkJoinTask, WorkflowDefinitionHttpTask, WorkflowDefinitionJoinTask, WorkflowDefinitionSwitchTask, WorkflowDefinitionTask, WorkflowDefinitionTaskBase, WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, WorkflowDefinitionTerminateTask, WorkflowDefinitionTriggerTask, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowExecutionPayload, WorkflowsDto, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, bigcommerceEventsZods, getAppAutoReviewPayload, getBigCommerceClientAuthorization, getBigCommerceClientConfig, getBigCommerceClientUrl, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientConfig, getHubspotClientAuthorization, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlOld, getLiveChatClientAuthorization, getLiveChatClientConfig, getMailchimpClientAuthorization, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientAuthorization, getNeonClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientAuthorization, getPlanetScaleClientConfig, getPlatformAccountsClientAuthorization, getPlatformAdapterClientAuthorization, getPlatformAdapterClientConfig, getPlatformAdapterClientDefaultConfig, getPlatformBillingClientAuthorization, getPlatformBillingClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getShopifyClientAuthorization, getShopifyClientConfig, getShopifyClientUrl, getTextClientAuthorization, getTextClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, hubspotClientInstance, hubspotEventsZods, initApi, initBigCommerceClient, initGithubClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initPlatformAdapterClient, initPlatformBillingClient, initPlatformDpsClient, initShopifyClient, initTextClient, initVercelClient, integrationEventsZods, livechatClientInstance, mailchimpClientInstance, mailchimpEventsZods, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformBillingClientInstance, platformDpsClientInstance, shopifyClientInstance, shopifyEventsZods, textClientInstance, textLivechatEventsZods, updateBigCommerceClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updatePlatformAdapterClient, updateShopifyClient, updateTextClient, updateVercelClient, vercelClientInstance };
|
package/dist/index.js
CHANGED
|
@@ -1611,6 +1611,22 @@ function updateTextClient(baseUrl, token) {
|
|
|
1611
1611
|
}
|
|
1612
1612
|
}
|
|
1613
1613
|
|
|
1614
|
+
// src/apis/integrations/text/ai-agent/api.ts
|
|
1615
|
+
var textAiAgentApi = {
|
|
1616
|
+
generateResponses(payload, authorization) {
|
|
1617
|
+
return __async(this, null, function* () {
|
|
1618
|
+
const { data: response } = yield textClientInstance.post(
|
|
1619
|
+
"/nlp-gateway/v2/ai-agents/responses/generate",
|
|
1620
|
+
payload,
|
|
1621
|
+
getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
1622
|
+
ensureAuthorizationToken: true
|
|
1623
|
+
}))
|
|
1624
|
+
);
|
|
1625
|
+
return response;
|
|
1626
|
+
});
|
|
1627
|
+
}
|
|
1628
|
+
};
|
|
1629
|
+
|
|
1614
1630
|
// src/apis/integrations/text/app/monitoring/events/api.ts
|
|
1615
1631
|
var textAppMonitoringEventsApi = {
|
|
1616
1632
|
getEvent(appId, eventKey, authorization) {
|
|
@@ -2198,6 +2214,19 @@ var textPlatformWorkflowsApi = {
|
|
|
2198
2214
|
);
|
|
2199
2215
|
return execution;
|
|
2200
2216
|
});
|
|
2217
|
+
},
|
|
2218
|
+
workflowActivation(payload, authorization) {
|
|
2219
|
+
return __async(this, null, function* () {
|
|
2220
|
+
yield textClientInstance.put(
|
|
2221
|
+
`/workflow_platform/workflows/${encodeURIComponent(
|
|
2222
|
+
payload.name
|
|
2223
|
+
)}/activation`,
|
|
2224
|
+
payload,
|
|
2225
|
+
getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
2226
|
+
ensureAuthorizationToken: true
|
|
2227
|
+
}))
|
|
2228
|
+
);
|
|
2229
|
+
});
|
|
2201
2230
|
}
|
|
2202
2231
|
};
|
|
2203
2232
|
|
|
@@ -2216,7 +2245,8 @@ var textPlatformApi = {
|
|
|
2216
2245
|
// src/apis/integrations/text/api.ts
|
|
2217
2246
|
var textApi = {
|
|
2218
2247
|
app: textAppApi,
|
|
2219
|
-
platform: textPlatformApi
|
|
2248
|
+
platform: textPlatformApi,
|
|
2249
|
+
ai: textAiAgentApi
|
|
2220
2250
|
};
|
|
2221
2251
|
|
|
2222
2252
|
// src/apis/integrations/vercel/api.ts
|
|
@@ -6912,8 +6942,11 @@ var HubSpotWebhookEventTypes = /* @__PURE__ */ ((HubSpotWebhookEventTypes2) => {
|
|
|
6912
6942
|
// src/apis/integrations/bigcommerce/webhooks/_contracts/dtos/webhooks.ts
|
|
6913
6943
|
var BigCommerceWebhookScopes = /* @__PURE__ */ ((BigCommerceWebhookScopes2) => {
|
|
6914
6944
|
BigCommerceWebhookScopes2["CartCreated"] = "store/cart/created";
|
|
6945
|
+
BigCommerceWebhookScopes2["CartUpdated"] = "store/cart/updated";
|
|
6915
6946
|
BigCommerceWebhookScopes2["OrderCreated"] = "store/order/created";
|
|
6916
6947
|
BigCommerceWebhookScopes2["OrderUpdated"] = "store/order/updated";
|
|
6948
|
+
BigCommerceWebhookScopes2["ProductCreated"] = "store/product/created";
|
|
6949
|
+
BigCommerceWebhookScopes2["ProductUpdated"] = "store/product/updated";
|
|
6917
6950
|
return BigCommerceWebhookScopes2;
|
|
6918
6951
|
})(BigCommerceWebhookScopes || {});
|
|
6919
6952
|
|
|
@@ -7270,8 +7303,11 @@ var import_zod5 = require("zod");
|
|
|
7270
7303
|
// src/apis/platform/adapter/integrations/bigcommerce/_contracts/dtos/events.ts
|
|
7271
7304
|
var BigCommerceEventNames = /* @__PURE__ */ ((BigCommerceEventNames2) => {
|
|
7272
7305
|
BigCommerceEventNames2["CartCreated"] = "cart_created";
|
|
7306
|
+
BigCommerceEventNames2["CartUpdated"] = "cart_updated";
|
|
7273
7307
|
BigCommerceEventNames2["OrderCreated"] = "order_created";
|
|
7274
7308
|
BigCommerceEventNames2["OrderUpdated"] = "order_updated";
|
|
7309
|
+
BigCommerceEventNames2["ProductCreated"] = "product_created";
|
|
7310
|
+
BigCommerceEventNames2["ProductUpdated"] = "product_updated";
|
|
7275
7311
|
return BigCommerceEventNames2;
|
|
7276
7312
|
})(BigCommerceEventNames || {});
|
|
7277
7313
|
|
|
@@ -7283,18 +7319,30 @@ var bigcommerceEventsZods = {
|
|
|
7283
7319
|
cartCreated: import_zod5.z.object({
|
|
7284
7320
|
name: import_zod5.z.literal("cart_created" /* CartCreated */)
|
|
7285
7321
|
}),
|
|
7322
|
+
cartUpdated: import_zod5.z.object({
|
|
7323
|
+
name: import_zod5.z.literal("cart_updated" /* CartUpdated */)
|
|
7324
|
+
}),
|
|
7286
7325
|
orderCreated: import_zod5.z.object({
|
|
7287
7326
|
name: import_zod5.z.literal("order_created" /* OrderCreated */)
|
|
7288
7327
|
}),
|
|
7289
7328
|
orderUpdated: import_zod5.z.object({
|
|
7290
7329
|
name: import_zod5.z.literal("order_updated" /* OrderUpdated */)
|
|
7330
|
+
}),
|
|
7331
|
+
productCreated: import_zod5.z.object({
|
|
7332
|
+
name: import_zod5.z.literal("product_created" /* ProductCreated */)
|
|
7333
|
+
}),
|
|
7334
|
+
productUpdated: import_zod5.z.object({
|
|
7335
|
+
name: import_zod5.z.literal("product_updated" /* ProductUpdated */)
|
|
7291
7336
|
})
|
|
7292
7337
|
},
|
|
7293
7338
|
get event() {
|
|
7294
7339
|
return import_zod5.z.discriminatedUnion("name", [
|
|
7295
7340
|
this.events.cartCreated,
|
|
7341
|
+
this.events.cartUpdated,
|
|
7296
7342
|
this.events.orderCreated,
|
|
7297
|
-
this.events.orderUpdated
|
|
7343
|
+
this.events.orderUpdated,
|
|
7344
|
+
this.events.productCreated,
|
|
7345
|
+
this.events.productUpdated
|
|
7298
7346
|
]);
|
|
7299
7347
|
},
|
|
7300
7348
|
get source() {
|
package/dist/index.mjs
CHANGED
|
@@ -1458,6 +1458,22 @@ function updateTextClient(baseUrl, token) {
|
|
|
1458
1458
|
}
|
|
1459
1459
|
}
|
|
1460
1460
|
|
|
1461
|
+
// src/apis/integrations/text/ai-agent/api.ts
|
|
1462
|
+
var textAiAgentApi = {
|
|
1463
|
+
generateResponses(payload, authorization) {
|
|
1464
|
+
return __async(this, null, function* () {
|
|
1465
|
+
const { data: response } = yield textClientInstance.post(
|
|
1466
|
+
"/nlp-gateway/v2/ai-agents/responses/generate",
|
|
1467
|
+
payload,
|
|
1468
|
+
getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
1469
|
+
ensureAuthorizationToken: true
|
|
1470
|
+
}))
|
|
1471
|
+
);
|
|
1472
|
+
return response;
|
|
1473
|
+
});
|
|
1474
|
+
}
|
|
1475
|
+
};
|
|
1476
|
+
|
|
1461
1477
|
// src/apis/integrations/text/app/monitoring/events/api.ts
|
|
1462
1478
|
var textAppMonitoringEventsApi = {
|
|
1463
1479
|
getEvent(appId, eventKey, authorization) {
|
|
@@ -2045,6 +2061,19 @@ var textPlatformWorkflowsApi = {
|
|
|
2045
2061
|
);
|
|
2046
2062
|
return execution;
|
|
2047
2063
|
});
|
|
2064
|
+
},
|
|
2065
|
+
workflowActivation(payload, authorization) {
|
|
2066
|
+
return __async(this, null, function* () {
|
|
2067
|
+
yield textClientInstance.put(
|
|
2068
|
+
`/workflow_platform/workflows/${encodeURIComponent(
|
|
2069
|
+
payload.name
|
|
2070
|
+
)}/activation`,
|
|
2071
|
+
payload,
|
|
2072
|
+
getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
2073
|
+
ensureAuthorizationToken: true
|
|
2074
|
+
}))
|
|
2075
|
+
);
|
|
2076
|
+
});
|
|
2048
2077
|
}
|
|
2049
2078
|
};
|
|
2050
2079
|
|
|
@@ -2063,7 +2092,8 @@ var textPlatformApi = {
|
|
|
2063
2092
|
// src/apis/integrations/text/api.ts
|
|
2064
2093
|
var textApi = {
|
|
2065
2094
|
app: textAppApi,
|
|
2066
|
-
platform: textPlatformApi
|
|
2095
|
+
platform: textPlatformApi,
|
|
2096
|
+
ai: textAiAgentApi
|
|
2067
2097
|
};
|
|
2068
2098
|
|
|
2069
2099
|
// src/apis/integrations/vercel/api.ts
|
|
@@ -6759,8 +6789,11 @@ var HubSpotWebhookEventTypes = /* @__PURE__ */ ((HubSpotWebhookEventTypes2) => {
|
|
|
6759
6789
|
// src/apis/integrations/bigcommerce/webhooks/_contracts/dtos/webhooks.ts
|
|
6760
6790
|
var BigCommerceWebhookScopes = /* @__PURE__ */ ((BigCommerceWebhookScopes2) => {
|
|
6761
6791
|
BigCommerceWebhookScopes2["CartCreated"] = "store/cart/created";
|
|
6792
|
+
BigCommerceWebhookScopes2["CartUpdated"] = "store/cart/updated";
|
|
6762
6793
|
BigCommerceWebhookScopes2["OrderCreated"] = "store/order/created";
|
|
6763
6794
|
BigCommerceWebhookScopes2["OrderUpdated"] = "store/order/updated";
|
|
6795
|
+
BigCommerceWebhookScopes2["ProductCreated"] = "store/product/created";
|
|
6796
|
+
BigCommerceWebhookScopes2["ProductUpdated"] = "store/product/updated";
|
|
6764
6797
|
return BigCommerceWebhookScopes2;
|
|
6765
6798
|
})(BigCommerceWebhookScopes || {});
|
|
6766
6799
|
|
|
@@ -7117,8 +7150,11 @@ import { z as z5 } from "zod";
|
|
|
7117
7150
|
// src/apis/platform/adapter/integrations/bigcommerce/_contracts/dtos/events.ts
|
|
7118
7151
|
var BigCommerceEventNames = /* @__PURE__ */ ((BigCommerceEventNames2) => {
|
|
7119
7152
|
BigCommerceEventNames2["CartCreated"] = "cart_created";
|
|
7153
|
+
BigCommerceEventNames2["CartUpdated"] = "cart_updated";
|
|
7120
7154
|
BigCommerceEventNames2["OrderCreated"] = "order_created";
|
|
7121
7155
|
BigCommerceEventNames2["OrderUpdated"] = "order_updated";
|
|
7156
|
+
BigCommerceEventNames2["ProductCreated"] = "product_created";
|
|
7157
|
+
BigCommerceEventNames2["ProductUpdated"] = "product_updated";
|
|
7122
7158
|
return BigCommerceEventNames2;
|
|
7123
7159
|
})(BigCommerceEventNames || {});
|
|
7124
7160
|
|
|
@@ -7130,18 +7166,30 @@ var bigcommerceEventsZods = {
|
|
|
7130
7166
|
cartCreated: z5.object({
|
|
7131
7167
|
name: z5.literal("cart_created" /* CartCreated */)
|
|
7132
7168
|
}),
|
|
7169
|
+
cartUpdated: z5.object({
|
|
7170
|
+
name: z5.literal("cart_updated" /* CartUpdated */)
|
|
7171
|
+
}),
|
|
7133
7172
|
orderCreated: z5.object({
|
|
7134
7173
|
name: z5.literal("order_created" /* OrderCreated */)
|
|
7135
7174
|
}),
|
|
7136
7175
|
orderUpdated: z5.object({
|
|
7137
7176
|
name: z5.literal("order_updated" /* OrderUpdated */)
|
|
7177
|
+
}),
|
|
7178
|
+
productCreated: z5.object({
|
|
7179
|
+
name: z5.literal("product_created" /* ProductCreated */)
|
|
7180
|
+
}),
|
|
7181
|
+
productUpdated: z5.object({
|
|
7182
|
+
name: z5.literal("product_updated" /* ProductUpdated */)
|
|
7138
7183
|
})
|
|
7139
7184
|
},
|
|
7140
7185
|
get event() {
|
|
7141
7186
|
return z5.discriminatedUnion("name", [
|
|
7142
7187
|
this.events.cartCreated,
|
|
7188
|
+
this.events.cartUpdated,
|
|
7143
7189
|
this.events.orderCreated,
|
|
7144
|
-
this.events.orderUpdated
|
|
7190
|
+
this.events.orderUpdated,
|
|
7191
|
+
this.events.productCreated,
|
|
7192
|
+
this.events.productUpdated
|
|
7145
7193
|
]);
|
|
7146
7194
|
},
|
|
7147
7195
|
get source() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/developer-studio-api",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.34",
|
|
4
4
|
"description": "This project is API for LiveChat Developer Studio.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"@types/node": "^17.0.12",
|
|
21
21
|
"tsup": "^7.1.0",
|
|
22
22
|
"typescript": "^5.1.6",
|
|
23
|
-
"
|
|
23
|
+
"eslint-config-custom": "0.0.8",
|
|
24
24
|
"tsconfig": "0.0.1",
|
|
25
|
-
"
|
|
25
|
+
"utils": "0.0.4"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "tsup",
|