@livechat/developer-studio-api 3.0.53 → 3.0.54

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.js CHANGED
@@ -74,7 +74,10 @@ __export(src_exports, {
74
74
  DpsApiError: () => DpsApiError,
75
75
  LivechatApiError: () => LivechatApiError,
76
76
  MailchimpApiError: () => MailchimpApiError,
77
+ MailchimpEvents: () => MailchimpEvents,
77
78
  ShopifyApiError: () => ShopifyApiError,
79
+ ShopifyEvents: () => ShopifyEvents,
80
+ TextLivechatEvents: () => TextLivechatEvents,
78
81
  UnauthorizeApiError: () => UnauthorizeApiError,
79
82
  WorkflowDefinitionTaskType: () => WorkflowDefinitionTaskType,
80
83
  allAppTemplates: () => allAppTemplates,
@@ -133,8 +136,10 @@ __export(src_exports, {
133
136
  initShopifyClient: () => initShopifyClient,
134
137
  initTextClient: () => initTextClient,
135
138
  initVercelClient: () => initVercelClient,
139
+ integrationEventsZods: () => integrationEventsZods,
136
140
  livechatClientInstance: () => livechatClientInstance,
137
141
  mailchimpClientInstance: () => mailchimpClientInstance,
142
+ mailchimpEventsZods: () => mailchimpEventsZods,
138
143
  neonClientInstance: () => neonClientInstance,
139
144
  netlifyClientInstance: () => netlifyClientInstance,
140
145
  planetScaleClientInstance: () => planetScaleClientInstance,
@@ -143,7 +148,9 @@ __export(src_exports, {
143
148
  platformBillingClientInstance: () => platformBillingClientInstance,
144
149
  platformDpsClientInstance: () => platformDpsClientInstance,
145
150
  shopifyClientInstance: () => shopifyClientInstance,
151
+ shopifyEventsZods: () => shopifyEventsZods,
146
152
  textClientInstance: () => textClientInstance,
153
+ textLivechatEventsZods: () => textLivechatEventsZods,
147
154
  updateGithubClient: () => updateGithubClient,
148
155
  updateMailchimpClient: () => updateMailchimpClient,
149
156
  updateNeonClient: () => updateNeonClient,
@@ -2711,7 +2718,7 @@ function getShopifyClientAuthorization(req) {
2711
2718
  token: req.headers["x-adapter-shopify-token"]
2712
2719
  };
2713
2720
  }
2714
- function getShopifyClientConfig(options) {
2721
+ function getShopifyClientConfig(options = {}) {
2715
2722
  var _a, _b;
2716
2723
  const currentBaseUrl = shopifyClientInstance.defaults.baseURL;
2717
2724
  const currentHeaders = shopifyClientInstance.defaults.headers;
@@ -6070,6 +6077,182 @@ function initPlatformBillingClient(baseUrl, token) {
6070
6077
  }
6071
6078
  }
6072
6079
 
6080
+ // src/apis/platform/adapter/integrations/_contracts/requests/events.ts
6081
+ var import_zod4 = require("zod");
6082
+
6083
+ // src/apis/platform/adapter/integrations/shopify/_contracts/dtos/events.ts
6084
+ var ShopifyEvents = /* @__PURE__ */ ((ShopifyEvents2) => {
6085
+ ShopifyEvents2["OrdersCreate"] = "orders/create";
6086
+ return ShopifyEvents2;
6087
+ })(ShopifyEvents || {});
6088
+
6089
+ // src/apis/platform/adapter/integrations/shopify/_contracts/requests/events.ts
6090
+ var import_zod = require("zod");
6091
+ var shopifyEventsZods = {
6092
+ event: import_zod.z.nativeEnum(ShopifyEvents),
6093
+ get body() {
6094
+ return import_zod.z.object({
6095
+ event: this.event
6096
+ });
6097
+ },
6098
+ get provider() {
6099
+ return import_zod.z.object({
6100
+ provider: import_zod.z.literal("shopify"),
6101
+ event: this.event
6102
+ });
6103
+ },
6104
+ get source() {
6105
+ return import_zod.z.object({
6106
+ sourceName: import_zod.z.enum(["apps", "workflows"]),
6107
+ sourceKey: import_zod.z.string()
6108
+ });
6109
+ },
6110
+ get subscribe() {
6111
+ return this.source.and(this.body).and(
6112
+ import_zod.z.object({
6113
+ callback: import_zod.z.string()
6114
+ })
6115
+ );
6116
+ },
6117
+ get unsubscribe() {
6118
+ return this.source.and(this.body);
6119
+ }
6120
+ };
6121
+
6122
+ // src/apis/platform/adapter/integrations/mailchimp/_contracts/requests/events.ts
6123
+ var import_zod2 = require("zod");
6124
+
6125
+ // src/apis/platform/adapter/integrations/mailchimp/_contracts/dtos/events.ts
6126
+ var MailchimpEvents = /* @__PURE__ */ ((MailchimpEvents2) => {
6127
+ MailchimpEvents2["Subscribe"] = "subscribe";
6128
+ MailchimpEvents2["Unsubscribe"] = "unsubscribe";
6129
+ return MailchimpEvents2;
6130
+ })(MailchimpEvents || {});
6131
+
6132
+ // src/apis/platform/adapter/integrations/mailchimp/_contracts/requests/events.ts
6133
+ var mailchimpEventsZods = {
6134
+ event: import_zod2.z.nativeEnum(MailchimpEvents),
6135
+ get body() {
6136
+ return import_zod2.z.object({
6137
+ event: this.event,
6138
+ listId: import_zod2.z.string()
6139
+ });
6140
+ },
6141
+ get provider() {
6142
+ return import_zod2.z.object({
6143
+ provider: import_zod2.z.literal("mailchimp"),
6144
+ event: this.event,
6145
+ listId: import_zod2.z.string()
6146
+ });
6147
+ },
6148
+ get source() {
6149
+ return import_zod2.z.object({
6150
+ sourceName: import_zod2.z.enum(["apps", "workflows"]),
6151
+ sourceKey: import_zod2.z.string()
6152
+ });
6153
+ },
6154
+ get subscribe() {
6155
+ return this.source.and(this.body).and(
6156
+ import_zod2.z.object({
6157
+ callback: import_zod2.z.string()
6158
+ })
6159
+ );
6160
+ },
6161
+ get unsubscribe() {
6162
+ return this.source.and(this.body);
6163
+ }
6164
+ };
6165
+
6166
+ // src/apis/platform/adapter/integrations/text/_contracts/dtos/events.ts
6167
+ var TextLivechatEvents = /* @__PURE__ */ ((TextLivechatEvents2) => {
6168
+ TextLivechatEvents2["IncomingChat"] = "incoming_chat";
6169
+ return TextLivechatEvents2;
6170
+ })(TextLivechatEvents || {});
6171
+
6172
+ // src/apis/platform/adapter/integrations/text/_contracts/requests/events.ts
6173
+ var import_zod3 = require("zod");
6174
+ var textLivechatEventsZods = {
6175
+ event: import_zod3.z.nativeEnum(TextLivechatEvents),
6176
+ get body() {
6177
+ return import_zod3.z.object({
6178
+ event: this.event
6179
+ });
6180
+ },
6181
+ get provider() {
6182
+ return import_zod3.z.object({
6183
+ provider: import_zod3.z.literal("text-livechat"),
6184
+ event: this.event
6185
+ });
6186
+ },
6187
+ get source() {
6188
+ return import_zod3.z.object({
6189
+ sourceName: import_zod3.z.enum(["apps", "workflows"]),
6190
+ sourceKey: import_zod3.z.string()
6191
+ });
6192
+ },
6193
+ get subscribe() {
6194
+ return this.source.and(this.body).and(
6195
+ import_zod3.z.object({
6196
+ callback: import_zod3.z.string()
6197
+ })
6198
+ );
6199
+ },
6200
+ get unsubscribe() {
6201
+ return this.source.and(this.body);
6202
+ }
6203
+ };
6204
+
6205
+ // src/apis/platform/adapter/integrations/_contracts/requests/events.ts
6206
+ var integrationEventsZods = {
6207
+ sourceName: import_zod4.z.enum(["apps", "workflows"]),
6208
+ providerName: import_zod4.z.enum(["text-livechat", "mailchimp", "shopify"]),
6209
+ get source() {
6210
+ return import_zod4.z.object({
6211
+ sourceName: this.sourceName,
6212
+ sourceKey: import_zod4.z.string()
6213
+ });
6214
+ },
6215
+ provider: import_zod4.z.discriminatedUnion("provider", [
6216
+ textLivechatEventsZods.provider,
6217
+ mailchimpEventsZods.provider,
6218
+ shopifyEventsZods.provider
6219
+ ]),
6220
+ get subscribe() {
6221
+ return this.source.and(this.provider).and(
6222
+ import_zod4.z.object({
6223
+ callback: import_zod4.z.string()
6224
+ })
6225
+ );
6226
+ },
6227
+ get unsubscribe() {
6228
+ return this.source.and(this.provider);
6229
+ }
6230
+ };
6231
+
6232
+ // src/apis/platform/adapter/integrations/mailchimp/api.ts
6233
+ var platformAdapterMailchimpApi = {
6234
+ events: {
6235
+ subscribe(payload, authorization) {
6236
+ return __async(this, null, function* () {
6237
+ yield platformAdapterClientInstance.post(
6238
+ `/integrations/mailchimp/events/subscribe`,
6239
+ payload,
6240
+ getMailchimpClientConfig(authorization)
6241
+ );
6242
+ });
6243
+ },
6244
+ unsubscribe(payload, authorization) {
6245
+ return __async(this, null, function* () {
6246
+ yield platformAdapterClientInstance.post(
6247
+ `/integrations/mailchimp/events/unsubscribe`,
6248
+ payload,
6249
+ getMailchimpClientConfig(authorization)
6250
+ );
6251
+ });
6252
+ }
6253
+ }
6254
+ };
6255
+
6073
6256
  // src/apis/platform/adapter/integrations/neon/api.ts
6074
6257
  var platformAdapterNeonProxyApi = {
6075
6258
  user(authorization) {
@@ -6107,15 +6290,66 @@ var platformAdapterNeonProxyApi = {
6107
6290
  }
6108
6291
  };
6109
6292
 
6293
+ // src/apis/platform/adapter/integrations/shopify/api.ts
6294
+ var platformAdapterShopifyApi = {
6295
+ events: {
6296
+ subscribe(payload, authorization) {
6297
+ return __async(this, null, function* () {
6298
+ yield platformAdapterClientInstance.post(
6299
+ `/integrations/shopify/events/subscribe`,
6300
+ payload,
6301
+ getShopifyClientConfig(authorization)
6302
+ );
6303
+ });
6304
+ },
6305
+ unsubscribe(payload, authorization) {
6306
+ return __async(this, null, function* () {
6307
+ yield platformAdapterClientInstance.post(
6308
+ `/integrations/shopify/events/unsubscribe`,
6309
+ payload,
6310
+ getShopifyClientConfig(authorization)
6311
+ );
6312
+ });
6313
+ }
6314
+ }
6315
+ };
6316
+
6317
+ // src/apis/platform/adapter/integrations/text/api.ts
6318
+ var platformAdapterTextApi = {
6319
+ events: {
6320
+ subscribe(payload, authorization) {
6321
+ return __async(this, null, function* () {
6322
+ yield platformAdapterClientInstance.post(
6323
+ `/integrations/text/events/subscribe`,
6324
+ payload,
6325
+ getTextClientConfig(authorization)
6326
+ );
6327
+ });
6328
+ },
6329
+ unsubscribe(payload, authorization) {
6330
+ return __async(this, null, function* () {
6331
+ yield platformAdapterClientInstance.post(
6332
+ `/integrations/text/events/unsubscribe`,
6333
+ payload,
6334
+ getTextClientConfig(authorization)
6335
+ );
6336
+ });
6337
+ }
6338
+ }
6339
+ };
6340
+
6110
6341
  // src/apis/platform/adapter/integrations/api.ts
6111
- var platformAdapterIntegrationsProxyApi = {
6112
- neon: platformAdapterNeonProxyApi
6342
+ var platformAdapterIntegrationsApi = {
6343
+ neon: platformAdapterNeonProxyApi,
6344
+ text: platformAdapterTextApi,
6345
+ mailchimp: platformAdapterMailchimpApi,
6346
+ shopify: platformAdapterShopifyApi
6113
6347
  };
6114
6348
 
6115
6349
  // src/apis/platform/adapter/api.ts
6116
6350
  var platformAdapterApi = {
6117
6351
  app: platformAdapterAppApi,
6118
- proxy: platformAdapterIntegrationsProxyApi,
6352
+ integrations: platformAdapterIntegrationsApi,
6119
6353
  log(payload, authorization) {
6120
6354
  return __async(this, null, function* () {
6121
6355
  return platformAdapterClientInstance.post(
@@ -6297,7 +6531,10 @@ function getIntegrationFlowUrl(provider, flow, data, context, config) {
6297
6531
  DpsApiError,
6298
6532
  LivechatApiError,
6299
6533
  MailchimpApiError,
6534
+ MailchimpEvents,
6300
6535
  ShopifyApiError,
6536
+ ShopifyEvents,
6537
+ TextLivechatEvents,
6301
6538
  UnauthorizeApiError,
6302
6539
  WorkflowDefinitionTaskType,
6303
6540
  allAppTemplates,
@@ -6356,8 +6593,10 @@ function getIntegrationFlowUrl(provider, flow, data, context, config) {
6356
6593
  initShopifyClient,
6357
6594
  initTextClient,
6358
6595
  initVercelClient,
6596
+ integrationEventsZods,
6359
6597
  livechatClientInstance,
6360
6598
  mailchimpClientInstance,
6599
+ mailchimpEventsZods,
6361
6600
  neonClientInstance,
6362
6601
  netlifyClientInstance,
6363
6602
  planetScaleClientInstance,
@@ -6366,7 +6605,9 @@ function getIntegrationFlowUrl(provider, flow, data, context, config) {
6366
6605
  platformBillingClientInstance,
6367
6606
  platformDpsClientInstance,
6368
6607
  shopifyClientInstance,
6608
+ shopifyEventsZods,
6369
6609
  textClientInstance,
6610
+ textLivechatEventsZods,
6370
6611
  updateGithubClient,
6371
6612
  updateMailchimpClient,
6372
6613
  updateNeonClient,
package/dist/index.mjs CHANGED
@@ -2593,7 +2593,7 @@ function getShopifyClientAuthorization(req) {
2593
2593
  token: req.headers["x-adapter-shopify-token"]
2594
2594
  };
2595
2595
  }
2596
- function getShopifyClientConfig(options) {
2596
+ function getShopifyClientConfig(options = {}) {
2597
2597
  var _a, _b;
2598
2598
  const currentBaseUrl = shopifyClientInstance.defaults.baseURL;
2599
2599
  const currentHeaders = shopifyClientInstance.defaults.headers;
@@ -5952,6 +5952,182 @@ function initPlatformBillingClient(baseUrl, token) {
5952
5952
  }
5953
5953
  }
5954
5954
 
5955
+ // src/apis/platform/adapter/integrations/_contracts/requests/events.ts
5956
+ import { z as z4 } from "zod";
5957
+
5958
+ // src/apis/platform/adapter/integrations/shopify/_contracts/dtos/events.ts
5959
+ var ShopifyEvents = /* @__PURE__ */ ((ShopifyEvents2) => {
5960
+ ShopifyEvents2["OrdersCreate"] = "orders/create";
5961
+ return ShopifyEvents2;
5962
+ })(ShopifyEvents || {});
5963
+
5964
+ // src/apis/platform/adapter/integrations/shopify/_contracts/requests/events.ts
5965
+ import { z } from "zod";
5966
+ var shopifyEventsZods = {
5967
+ event: z.nativeEnum(ShopifyEvents),
5968
+ get body() {
5969
+ return z.object({
5970
+ event: this.event
5971
+ });
5972
+ },
5973
+ get provider() {
5974
+ return z.object({
5975
+ provider: z.literal("shopify"),
5976
+ event: this.event
5977
+ });
5978
+ },
5979
+ get source() {
5980
+ return z.object({
5981
+ sourceName: z.enum(["apps", "workflows"]),
5982
+ sourceKey: z.string()
5983
+ });
5984
+ },
5985
+ get subscribe() {
5986
+ return this.source.and(this.body).and(
5987
+ z.object({
5988
+ callback: z.string()
5989
+ })
5990
+ );
5991
+ },
5992
+ get unsubscribe() {
5993
+ return this.source.and(this.body);
5994
+ }
5995
+ };
5996
+
5997
+ // src/apis/platform/adapter/integrations/mailchimp/_contracts/requests/events.ts
5998
+ import { z as z2 } from "zod";
5999
+
6000
+ // src/apis/platform/adapter/integrations/mailchimp/_contracts/dtos/events.ts
6001
+ var MailchimpEvents = /* @__PURE__ */ ((MailchimpEvents2) => {
6002
+ MailchimpEvents2["Subscribe"] = "subscribe";
6003
+ MailchimpEvents2["Unsubscribe"] = "unsubscribe";
6004
+ return MailchimpEvents2;
6005
+ })(MailchimpEvents || {});
6006
+
6007
+ // src/apis/platform/adapter/integrations/mailchimp/_contracts/requests/events.ts
6008
+ var mailchimpEventsZods = {
6009
+ event: z2.nativeEnum(MailchimpEvents),
6010
+ get body() {
6011
+ return z2.object({
6012
+ event: this.event,
6013
+ listId: z2.string()
6014
+ });
6015
+ },
6016
+ get provider() {
6017
+ return z2.object({
6018
+ provider: z2.literal("mailchimp"),
6019
+ event: this.event,
6020
+ listId: z2.string()
6021
+ });
6022
+ },
6023
+ get source() {
6024
+ return z2.object({
6025
+ sourceName: z2.enum(["apps", "workflows"]),
6026
+ sourceKey: z2.string()
6027
+ });
6028
+ },
6029
+ get subscribe() {
6030
+ return this.source.and(this.body).and(
6031
+ z2.object({
6032
+ callback: z2.string()
6033
+ })
6034
+ );
6035
+ },
6036
+ get unsubscribe() {
6037
+ return this.source.and(this.body);
6038
+ }
6039
+ };
6040
+
6041
+ // src/apis/platform/adapter/integrations/text/_contracts/dtos/events.ts
6042
+ var TextLivechatEvents = /* @__PURE__ */ ((TextLivechatEvents2) => {
6043
+ TextLivechatEvents2["IncomingChat"] = "incoming_chat";
6044
+ return TextLivechatEvents2;
6045
+ })(TextLivechatEvents || {});
6046
+
6047
+ // src/apis/platform/adapter/integrations/text/_contracts/requests/events.ts
6048
+ import { z as z3 } from "zod";
6049
+ var textLivechatEventsZods = {
6050
+ event: z3.nativeEnum(TextLivechatEvents),
6051
+ get body() {
6052
+ return z3.object({
6053
+ event: this.event
6054
+ });
6055
+ },
6056
+ get provider() {
6057
+ return z3.object({
6058
+ provider: z3.literal("text-livechat"),
6059
+ event: this.event
6060
+ });
6061
+ },
6062
+ get source() {
6063
+ return z3.object({
6064
+ sourceName: z3.enum(["apps", "workflows"]),
6065
+ sourceKey: z3.string()
6066
+ });
6067
+ },
6068
+ get subscribe() {
6069
+ return this.source.and(this.body).and(
6070
+ z3.object({
6071
+ callback: z3.string()
6072
+ })
6073
+ );
6074
+ },
6075
+ get unsubscribe() {
6076
+ return this.source.and(this.body);
6077
+ }
6078
+ };
6079
+
6080
+ // src/apis/platform/adapter/integrations/_contracts/requests/events.ts
6081
+ var integrationEventsZods = {
6082
+ sourceName: z4.enum(["apps", "workflows"]),
6083
+ providerName: z4.enum(["text-livechat", "mailchimp", "shopify"]),
6084
+ get source() {
6085
+ return z4.object({
6086
+ sourceName: this.sourceName,
6087
+ sourceKey: z4.string()
6088
+ });
6089
+ },
6090
+ provider: z4.discriminatedUnion("provider", [
6091
+ textLivechatEventsZods.provider,
6092
+ mailchimpEventsZods.provider,
6093
+ shopifyEventsZods.provider
6094
+ ]),
6095
+ get subscribe() {
6096
+ return this.source.and(this.provider).and(
6097
+ z4.object({
6098
+ callback: z4.string()
6099
+ })
6100
+ );
6101
+ },
6102
+ get unsubscribe() {
6103
+ return this.source.and(this.provider);
6104
+ }
6105
+ };
6106
+
6107
+ // src/apis/platform/adapter/integrations/mailchimp/api.ts
6108
+ var platformAdapterMailchimpApi = {
6109
+ events: {
6110
+ subscribe(payload, authorization) {
6111
+ return __async(this, null, function* () {
6112
+ yield platformAdapterClientInstance.post(
6113
+ `/integrations/mailchimp/events/subscribe`,
6114
+ payload,
6115
+ getMailchimpClientConfig(authorization)
6116
+ );
6117
+ });
6118
+ },
6119
+ unsubscribe(payload, authorization) {
6120
+ return __async(this, null, function* () {
6121
+ yield platformAdapterClientInstance.post(
6122
+ `/integrations/mailchimp/events/unsubscribe`,
6123
+ payload,
6124
+ getMailchimpClientConfig(authorization)
6125
+ );
6126
+ });
6127
+ }
6128
+ }
6129
+ };
6130
+
5955
6131
  // src/apis/platform/adapter/integrations/neon/api.ts
5956
6132
  var platformAdapterNeonProxyApi = {
5957
6133
  user(authorization) {
@@ -5989,15 +6165,66 @@ var platformAdapterNeonProxyApi = {
5989
6165
  }
5990
6166
  };
5991
6167
 
6168
+ // src/apis/platform/adapter/integrations/shopify/api.ts
6169
+ var platformAdapterShopifyApi = {
6170
+ events: {
6171
+ subscribe(payload, authorization) {
6172
+ return __async(this, null, function* () {
6173
+ yield platformAdapterClientInstance.post(
6174
+ `/integrations/shopify/events/subscribe`,
6175
+ payload,
6176
+ getShopifyClientConfig(authorization)
6177
+ );
6178
+ });
6179
+ },
6180
+ unsubscribe(payload, authorization) {
6181
+ return __async(this, null, function* () {
6182
+ yield platformAdapterClientInstance.post(
6183
+ `/integrations/shopify/events/unsubscribe`,
6184
+ payload,
6185
+ getShopifyClientConfig(authorization)
6186
+ );
6187
+ });
6188
+ }
6189
+ }
6190
+ };
6191
+
6192
+ // src/apis/platform/adapter/integrations/text/api.ts
6193
+ var platformAdapterTextApi = {
6194
+ events: {
6195
+ subscribe(payload, authorization) {
6196
+ return __async(this, null, function* () {
6197
+ yield platformAdapterClientInstance.post(
6198
+ `/integrations/text/events/subscribe`,
6199
+ payload,
6200
+ getTextClientConfig(authorization)
6201
+ );
6202
+ });
6203
+ },
6204
+ unsubscribe(payload, authorization) {
6205
+ return __async(this, null, function* () {
6206
+ yield platformAdapterClientInstance.post(
6207
+ `/integrations/text/events/unsubscribe`,
6208
+ payload,
6209
+ getTextClientConfig(authorization)
6210
+ );
6211
+ });
6212
+ }
6213
+ }
6214
+ };
6215
+
5992
6216
  // src/apis/platform/adapter/integrations/api.ts
5993
- var platformAdapterIntegrationsProxyApi = {
5994
- neon: platformAdapterNeonProxyApi
6217
+ var platformAdapterIntegrationsApi = {
6218
+ neon: platformAdapterNeonProxyApi,
6219
+ text: platformAdapterTextApi,
6220
+ mailchimp: platformAdapterMailchimpApi,
6221
+ shopify: platformAdapterShopifyApi
5995
6222
  };
5996
6223
 
5997
6224
  // src/apis/platform/adapter/api.ts
5998
6225
  var platformAdapterApi = {
5999
6226
  app: platformAdapterAppApi,
6000
- proxy: platformAdapterIntegrationsProxyApi,
6227
+ integrations: platformAdapterIntegrationsApi,
6001
6228
  log(payload, authorization) {
6002
6229
  return __async(this, null, function* () {
6003
6230
  return platformAdapterClientInstance.post(
@@ -6178,7 +6405,10 @@ export {
6178
6405
  DpsApiError,
6179
6406
  LivechatApiError,
6180
6407
  MailchimpApiError,
6408
+ MailchimpEvents,
6181
6409
  ShopifyApiError,
6410
+ ShopifyEvents,
6411
+ TextLivechatEvents,
6182
6412
  UnauthorizeApiError,
6183
6413
  WorkflowDefinitionTaskType,
6184
6414
  allAppTemplates,
@@ -6237,8 +6467,10 @@ export {
6237
6467
  initShopifyClient,
6238
6468
  initTextClient,
6239
6469
  initVercelClient,
6470
+ integrationEventsZods,
6240
6471
  livechatClientInstance,
6241
6472
  mailchimpClientInstance,
6473
+ mailchimpEventsZods,
6242
6474
  neonClientInstance,
6243
6475
  netlifyClientInstance,
6244
6476
  planetScaleClientInstance,
@@ -6247,7 +6479,9 @@ export {
6247
6479
  platformBillingClientInstance,
6248
6480
  platformDpsClientInstance,
6249
6481
  shopifyClientInstance,
6482
+ shopifyEventsZods,
6250
6483
  textClientInstance,
6484
+ textLivechatEventsZods,
6251
6485
  updateGithubClient,
6252
6486
  updateMailchimpClient,
6253
6487
  updateNeonClient,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "3.0.53",
3
+ "version": "3.0.54",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -13,7 +13,8 @@
13
13
  "dependencies": {
14
14
  "@shopify/shopify-api": "^11.0.0",
15
15
  "axios": "1.6.5",
16
- "shopify-api-node": "^3.13.1"
16
+ "shopify-api-node": "^3.13.1",
17
+ "zod": "^3.23.8"
17
18
  },
18
19
  "devDependencies": {
19
20
  "@types/node": "^17.0.12",