@livechat/developer-studio-api 3.0.9 → 3.0.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 +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1458,8 +1458,8 @@ type GitHubAuthorizeFlowResult = GitHubAuthorizeAppActionResult & GitHubAuthoriz
|
|
|
1458
1458
|
|
|
1459
1459
|
interface GitHubInstallActionContext {
|
|
1460
1460
|
targetRepository?: string;
|
|
1461
|
-
isAlreadyInstalled?:
|
|
1462
|
-
showInstruction?:
|
|
1461
|
+
isAlreadyInstalled?: true;
|
|
1462
|
+
showInstruction?: true;
|
|
1463
1463
|
}
|
|
1464
1464
|
interface GitHubInstallActionResult {
|
|
1465
1465
|
appToken: string;
|
|
@@ -1486,8 +1486,8 @@ type NetlifyAuthorizeFlowResult = NetlifyAuthorizeActionResult;
|
|
|
1486
1486
|
interface NetlifyInstallActionContext {
|
|
1487
1487
|
siteId?: string;
|
|
1488
1488
|
token?: string;
|
|
1489
|
-
showInstruction?: boolean;
|
|
1490
1489
|
targetRepository?: string;
|
|
1490
|
+
showInstruction?: true;
|
|
1491
1491
|
}
|
|
1492
1492
|
interface NetlifyInstallActionResult {
|
|
1493
1493
|
installationId: string;
|
|
@@ -1519,8 +1519,8 @@ type VercelAuthorizeFlowResult = VercelConnectActionContext;
|
|
|
1519
1519
|
|
|
1520
1520
|
interface VercelInstallActionContext {
|
|
1521
1521
|
token: string;
|
|
1522
|
-
showInstruction?: boolean;
|
|
1523
1522
|
targetRepository?: string;
|
|
1523
|
+
showInstruction?: true;
|
|
1524
1524
|
}
|
|
1525
1525
|
interface VercelInstallActionResult {
|
|
1526
1526
|
installationId: string;
|
|
@@ -3092,7 +3092,7 @@ declare const API_NOTIFICATIONS: {
|
|
|
3092
3092
|
};
|
|
3093
3093
|
};
|
|
3094
3094
|
|
|
3095
|
-
declare function getIntegrationFlowUrl<TContext extends IntegrationFlowContext, TData>(provider: string, flow: string, data: TData, context: Omit<TContext, "state">, config: {
|
|
3095
|
+
declare function getIntegrationFlowUrl<TContext extends IntegrationFlowContext, TData>(provider: string, flow: string, data: TData | string, context: Omit<TContext, "state">, config: {
|
|
3096
3096
|
adapterUrl: string;
|
|
3097
3097
|
}): string;
|
|
3098
3098
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1458,8 +1458,8 @@ type GitHubAuthorizeFlowResult = GitHubAuthorizeAppActionResult & GitHubAuthoriz
|
|
|
1458
1458
|
|
|
1459
1459
|
interface GitHubInstallActionContext {
|
|
1460
1460
|
targetRepository?: string;
|
|
1461
|
-
isAlreadyInstalled?:
|
|
1462
|
-
showInstruction?:
|
|
1461
|
+
isAlreadyInstalled?: true;
|
|
1462
|
+
showInstruction?: true;
|
|
1463
1463
|
}
|
|
1464
1464
|
interface GitHubInstallActionResult {
|
|
1465
1465
|
appToken: string;
|
|
@@ -1486,8 +1486,8 @@ type NetlifyAuthorizeFlowResult = NetlifyAuthorizeActionResult;
|
|
|
1486
1486
|
interface NetlifyInstallActionContext {
|
|
1487
1487
|
siteId?: string;
|
|
1488
1488
|
token?: string;
|
|
1489
|
-
showInstruction?: boolean;
|
|
1490
1489
|
targetRepository?: string;
|
|
1490
|
+
showInstruction?: true;
|
|
1491
1491
|
}
|
|
1492
1492
|
interface NetlifyInstallActionResult {
|
|
1493
1493
|
installationId: string;
|
|
@@ -1519,8 +1519,8 @@ type VercelAuthorizeFlowResult = VercelConnectActionContext;
|
|
|
1519
1519
|
|
|
1520
1520
|
interface VercelInstallActionContext {
|
|
1521
1521
|
token: string;
|
|
1522
|
-
showInstruction?: boolean;
|
|
1523
1522
|
targetRepository?: string;
|
|
1523
|
+
showInstruction?: true;
|
|
1524
1524
|
}
|
|
1525
1525
|
interface VercelInstallActionResult {
|
|
1526
1526
|
installationId: string;
|
|
@@ -3092,7 +3092,7 @@ declare const API_NOTIFICATIONS: {
|
|
|
3092
3092
|
};
|
|
3093
3093
|
};
|
|
3094
3094
|
|
|
3095
|
-
declare function getIntegrationFlowUrl<TContext extends IntegrationFlowContext, TData>(provider: string, flow: string, data: TData, context: Omit<TContext, "state">, config: {
|
|
3095
|
+
declare function getIntegrationFlowUrl<TContext extends IntegrationFlowContext, TData>(provider: string, flow: string, data: TData | string, context: Omit<TContext, "state">, config: {
|
|
3096
3096
|
adapterUrl: string;
|
|
3097
3097
|
}): string;
|
|
3098
3098
|
|
package/dist/index.js
CHANGED
|
@@ -5655,7 +5655,7 @@ var serializerBase64 = {
|
|
|
5655
5655
|
|
|
5656
5656
|
// src/utils/integrations/getIntegrationFlowUrl.ts
|
|
5657
5657
|
function getIntegrationFlowUrl(provider, flow, data, context, config) {
|
|
5658
|
-
const serializedFlowState = serializerBase64.serialize(data);
|
|
5658
|
+
const serializedFlowState = typeof data === "string" ? data : serializerBase64.serialize(data);
|
|
5659
5659
|
const serializedContext = serializerBase64.serialize(__spreadProps(__spreadValues({}, context), {
|
|
5660
5660
|
state: serializedFlowState
|
|
5661
5661
|
}));
|
package/dist/index.mjs
CHANGED
|
@@ -5553,7 +5553,7 @@ var serializerBase64 = {
|
|
|
5553
5553
|
|
|
5554
5554
|
// src/utils/integrations/getIntegrationFlowUrl.ts
|
|
5555
5555
|
function getIntegrationFlowUrl(provider, flow, data, context, config) {
|
|
5556
|
-
const serializedFlowState = serializerBase64.serialize(data);
|
|
5556
|
+
const serializedFlowState = typeof data === "string" ? data : serializerBase64.serialize(data);
|
|
5557
5557
|
const serializedContext = serializerBase64.serialize(__spreadProps(__spreadValues({}, context), {
|
|
5558
5558
|
state: serializedFlowState
|
|
5559
5559
|
}));
|