@livechat/developer-studio-api 3.2.7 → 3.2.9

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 CHANGED
@@ -617,7 +617,9 @@ type BigCommerceOauthCredential = OAuthCredential<{
617
617
  type HubSpotOauthCredential = OAuthCredential<{
618
618
  appId: string;
619
619
  }, false>;
620
- type TextAuthCredential = OAuthCredential<Record<string, never>, false>;
620
+ type TextAuthCredential = Extract<Credential, {
621
+ type: "text_auth";
622
+ }>;
621
623
  type TextOAuthCredential = OAuthCredential<{
622
624
  appId: string;
623
625
  }, false>;
@@ -2021,7 +2023,8 @@ declare enum IntegrationNames {
2021
2023
  Shopify = "shopify",
2022
2024
  HubSpot = "hubspot",
2023
2025
  BigCommerce = "bigcommerce",
2024
- Text = "text"
2026
+ Text = "text",
2027
+ OpenAI = "openai"
2025
2028
  }
2026
2029
  declare enum IntegrationDisplayNames {
2027
2030
  Accounts = "Accounts",
@@ -2034,7 +2037,8 @@ declare enum IntegrationDisplayNames {
2034
2037
  Shopify = "Shopify",
2035
2038
  HubSpot = "Hubspot",
2036
2039
  BigCommerce = "BigCommerce",
2037
- Text = "Text"
2040
+ Text = "Text",
2041
+ OpenAI = "OpenAI"
2038
2042
  }
2039
2043
  declare enum IntegrationModes {
2040
2044
  Redirect = "redirect",
package/dist/index.d.ts CHANGED
@@ -617,7 +617,9 @@ type BigCommerceOauthCredential = OAuthCredential<{
617
617
  type HubSpotOauthCredential = OAuthCredential<{
618
618
  appId: string;
619
619
  }, false>;
620
- type TextAuthCredential = OAuthCredential<Record<string, never>, false>;
620
+ type TextAuthCredential = Extract<Credential, {
621
+ type: "text_auth";
622
+ }>;
621
623
  type TextOAuthCredential = OAuthCredential<{
622
624
  appId: string;
623
625
  }, false>;
@@ -2021,7 +2023,8 @@ declare enum IntegrationNames {
2021
2023
  Shopify = "shopify",
2022
2024
  HubSpot = "hubspot",
2023
2025
  BigCommerce = "bigcommerce",
2024
- Text = "text"
2026
+ Text = "text",
2027
+ OpenAI = "openai"
2025
2028
  }
2026
2029
  declare enum IntegrationDisplayNames {
2027
2030
  Accounts = "Accounts",
@@ -2034,7 +2037,8 @@ declare enum IntegrationDisplayNames {
2034
2037
  Shopify = "Shopify",
2035
2038
  HubSpot = "Hubspot",
2036
2039
  BigCommerce = "BigCommerce",
2037
- Text = "Text"
2040
+ Text = "Text",
2041
+ OpenAI = "OpenAI"
2038
2042
  }
2039
2043
  declare enum IntegrationModes {
2040
2044
  Redirect = "redirect",
package/dist/index.js CHANGED
@@ -2287,6 +2287,7 @@ var IntegrationNames = /* @__PURE__ */ ((IntegrationNames2) => {
2287
2287
  IntegrationNames2["HubSpot"] = "hubspot";
2288
2288
  IntegrationNames2["BigCommerce"] = "bigcommerce";
2289
2289
  IntegrationNames2["Text"] = "text";
2290
+ IntegrationNames2["OpenAI"] = "openai";
2290
2291
  return IntegrationNames2;
2291
2292
  })(IntegrationNames || {});
2292
2293
  var IntegrationDisplayNames = /* @__PURE__ */ ((IntegrationDisplayNames2) => {
@@ -2301,6 +2302,7 @@ var IntegrationDisplayNames = /* @__PURE__ */ ((IntegrationDisplayNames2) => {
2301
2302
  IntegrationDisplayNames2["HubSpot"] = "Hubspot";
2302
2303
  IntegrationDisplayNames2["BigCommerce"] = "BigCommerce";
2303
2304
  IntegrationDisplayNames2["Text"] = "Text";
2305
+ IntegrationDisplayNames2["OpenAI"] = "OpenAI";
2304
2306
  return IntegrationDisplayNames2;
2305
2307
  })(IntegrationDisplayNames || {});
2306
2308
  var IntegrationModes = /* @__PURE__ */ ((IntegrationModes2) => {
package/dist/index.mjs CHANGED
@@ -2134,6 +2134,7 @@ var IntegrationNames = /* @__PURE__ */ ((IntegrationNames2) => {
2134
2134
  IntegrationNames2["HubSpot"] = "hubspot";
2135
2135
  IntegrationNames2["BigCommerce"] = "bigcommerce";
2136
2136
  IntegrationNames2["Text"] = "text";
2137
+ IntegrationNames2["OpenAI"] = "openai";
2137
2138
  return IntegrationNames2;
2138
2139
  })(IntegrationNames || {});
2139
2140
  var IntegrationDisplayNames = /* @__PURE__ */ ((IntegrationDisplayNames2) => {
@@ -2148,6 +2149,7 @@ var IntegrationDisplayNames = /* @__PURE__ */ ((IntegrationDisplayNames2) => {
2148
2149
  IntegrationDisplayNames2["HubSpot"] = "Hubspot";
2149
2150
  IntegrationDisplayNames2["BigCommerce"] = "BigCommerce";
2150
2151
  IntegrationDisplayNames2["Text"] = "Text";
2152
+ IntegrationDisplayNames2["OpenAI"] = "OpenAI";
2151
2153
  return IntegrationDisplayNames2;
2152
2154
  })(IntegrationDisplayNames || {});
2153
2155
  var IntegrationModes = /* @__PURE__ */ ((IntegrationModes2) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "3.2.7",
3
+ "version": "3.2.9",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -21,8 +21,8 @@
21
21
  "tsup": "^7.1.0",
22
22
  "typescript": "^5.1.6",
23
23
  "eslint-config-custom": "0.0.8",
24
- "utils": "0.0.4",
25
- "tsconfig": "0.0.1"
24
+ "tsconfig": "0.0.1",
25
+ "utils": "0.0.4"
26
26
  },
27
27
  "scripts": {
28
28
  "build": "tsup",