@useparagon/connect 2.2.0 → 2.2.1-experimental.2
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/src/ConnectSDK.d.ts +7 -0
- package/dist/src/ConnectSDK.js +1 -1
- package/dist/src/entities/integration.interface.d.ts +2 -2
- package/dist/src/entities/workflow.interface.d.ts +4 -0
- package/dist/src/index.js +1 -1
- package/dist/src/types/connect.d.ts +1 -0
- package/dist/src/types/sdk.d.ts +7 -1
- package/package.json +1 -1
|
@@ -2,14 +2,14 @@ import { SDKIntegrationConfig } from '../types/connect';
|
|
|
2
2
|
import { AuthenticationScheme } from './credential.interface';
|
|
3
3
|
import { ICustomIntegration } from './customIntegration.interface';
|
|
4
4
|
import { IConnectIntegrationConfig } from './integrationConfig.interface';
|
|
5
|
-
import {
|
|
5
|
+
import { ISDKWorkflowBase } from './workflow.interface';
|
|
6
6
|
export type IConnectIntegration = {
|
|
7
7
|
id: string;
|
|
8
8
|
dateCreated: Date;
|
|
9
9
|
dateUpdated: Date;
|
|
10
10
|
projectId: string;
|
|
11
11
|
configs: IConnectIntegrationConfig[];
|
|
12
|
-
workflows:
|
|
12
|
+
workflows: ISDKWorkflowBase[];
|
|
13
13
|
type: string;
|
|
14
14
|
isActive: boolean;
|
|
15
15
|
customIntegrationId?: string;
|
|
@@ -9,3 +9,7 @@ export interface IWorkflow extends IBaseEntity {
|
|
|
9
9
|
integrationId?: string;
|
|
10
10
|
}
|
|
11
11
|
export type IWorkflowBase = Omit<IWorkflow, 'project' | 'projectId'>;
|
|
12
|
+
export type ISDKWorkflowBase = IWorkflowBase & {
|
|
13
|
+
customWebhookTriggerId?: string;
|
|
14
|
+
resourceId?: string;
|
|
15
|
+
};
|