@livechat/developer-studio-api 3.1.10 → 3.1.11

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
@@ -2850,11 +2850,10 @@ type GitHubInstallFlowContext = IntegrationFlowContext & {
2850
2850
  };
2851
2851
  type GitHubInstallFlowResult = GitHubInstallActionResult;
2852
2852
 
2853
- interface NeonAuthorizeActionResult {
2853
+ type NeonAuthorizeActionResult = IntegrationAuthorizeFlowResult & {
2854
2854
  token: string;
2855
- refreshToken: string;
2856
- }
2857
- type NeonAuthorizeFlowContext = IntegrationFlowContext;
2855
+ };
2856
+ type NeonAuthorizeFlowContext<TCredential extends string | undefined = string> = IntegrationAuthorizeFlowContext<TCredential>;
2858
2857
  type NeonAuthorizeFlowResult = NeonAuthorizeActionResult;
2859
2858
 
2860
2859
  interface NetlifyAuthorizeActionResult {
@@ -2877,11 +2876,10 @@ type NetlifyInstallFlowContext = IntegrationFlowContext & {
2877
2876
  };
2878
2877
  type NetlifyInstallFlowResult = NetlifyInstallActionResult;
2879
2878
 
2880
- interface PlanetScaleAuthorizeActionResult {
2879
+ type PlanetScaleAuthorizeActionResult = IntegrationAuthorizeFlowResult & {
2881
2880
  token: string;
2882
- refreshToken: string;
2883
- }
2884
- type PlanetScaleAuthorizeFlowContext = IntegrationFlowContext;
2881
+ };
2882
+ type PlanetScaleAuthorizeFlowContext<TCredential extends string | undefined = string> = IntegrationAuthorizeFlowContext<TCredential>;
2885
2883
  type PlanetScaleAuthorizeFlowResult = PlanetScaleAuthorizeActionResult;
2886
2884
 
2887
2885
  interface VercelConnectActionContext {
@@ -4169,9 +4167,6 @@ declare const api: {
4169
4167
  branchId: string;
4170
4168
  databases: NeonProjectDatabaseDto[];
4171
4169
  }>;
4172
- refreshToken(authorization?: NeonClientAuthorization | undefined): Promise<{
4173
- access_token: string;
4174
- }>;
4175
4170
  };
4176
4171
  text: {
4177
4172
  events: {
package/dist/index.d.ts CHANGED
@@ -2850,11 +2850,10 @@ type GitHubInstallFlowContext = IntegrationFlowContext & {
2850
2850
  };
2851
2851
  type GitHubInstallFlowResult = GitHubInstallActionResult;
2852
2852
 
2853
- interface NeonAuthorizeActionResult {
2853
+ type NeonAuthorizeActionResult = IntegrationAuthorizeFlowResult & {
2854
2854
  token: string;
2855
- refreshToken: string;
2856
- }
2857
- type NeonAuthorizeFlowContext = IntegrationFlowContext;
2855
+ };
2856
+ type NeonAuthorizeFlowContext<TCredential extends string | undefined = string> = IntegrationAuthorizeFlowContext<TCredential>;
2858
2857
  type NeonAuthorizeFlowResult = NeonAuthorizeActionResult;
2859
2858
 
2860
2859
  interface NetlifyAuthorizeActionResult {
@@ -2877,11 +2876,10 @@ type NetlifyInstallFlowContext = IntegrationFlowContext & {
2877
2876
  };
2878
2877
  type NetlifyInstallFlowResult = NetlifyInstallActionResult;
2879
2878
 
2880
- interface PlanetScaleAuthorizeActionResult {
2879
+ type PlanetScaleAuthorizeActionResult = IntegrationAuthorizeFlowResult & {
2881
2880
  token: string;
2882
- refreshToken: string;
2883
- }
2884
- type PlanetScaleAuthorizeFlowContext = IntegrationFlowContext;
2881
+ };
2882
+ type PlanetScaleAuthorizeFlowContext<TCredential extends string | undefined = string> = IntegrationAuthorizeFlowContext<TCredential>;
2885
2883
  type PlanetScaleAuthorizeFlowResult = PlanetScaleAuthorizeActionResult;
2886
2884
 
2887
2885
  interface VercelConnectActionContext {
@@ -4169,9 +4167,6 @@ declare const api: {
4169
4167
  branchId: string;
4170
4168
  databases: NeonProjectDatabaseDto[];
4171
4169
  }>;
4172
- refreshToken(authorization?: NeonClientAuthorization | undefined): Promise<{
4173
- access_token: string;
4174
- }>;
4175
4170
  };
4176
4171
  text: {
4177
4172
  events: {
package/dist/index.js CHANGED
@@ -6649,12 +6649,6 @@ var platformAdapterNeonProxyApi = {
6649
6649
  );
6650
6650
  return response.data;
6651
6651
  });
6652
- },
6653
- refreshToken(authorization) {
6654
- return __async(this, null, function* () {
6655
- const response = yield platformAdapterClientInstance.get(`/integrations/neon/refresh`, getNeonClientConfig(authorization));
6656
- return response.data;
6657
- });
6658
6652
  }
6659
6653
  };
6660
6654
 
package/dist/index.mjs CHANGED
@@ -6518,12 +6518,6 @@ var platformAdapterNeonProxyApi = {
6518
6518
  );
6519
6519
  return response.data;
6520
6520
  });
6521
- },
6522
- refreshToken(authorization) {
6523
- return __async(this, null, function* () {
6524
- const response = yield platformAdapterClientInstance.get(`/integrations/neon/refresh`, getNeonClientConfig(authorization));
6525
- return response.data;
6526
- });
6527
6521
  }
6528
6522
  };
6529
6523
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "3.1.10",
3
+ "version": "3.1.11",
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
- "tsconfig": "0.0.1",
25
- "utils": "0.0.4"
24
+ "utils": "0.0.4",
25
+ "tsconfig": "0.0.1"
26
26
  },
27
27
  "scripts": {
28
28
  "build": "tsup",