@useparagon/connect
Advanced tools
Comparing version 1.0.20 to 1.0.21
@@ -1,2 +0,3 @@ | ||
import { ConnectCredentialConfig } from '../types/connect'; | ||
import { SDKConnectCredentialConfig } from '../types/connect'; | ||
import { IConnectCredentialConfig } from './connectCredentialConfig.interface'; | ||
export interface IConnectCredential { | ||
@@ -6,3 +7,7 @@ id: string; | ||
integrationId: string; | ||
config: ConnectCredentialConfig; | ||
/** | ||
* @deprecated | ||
*/ | ||
config: SDKConnectCredentialConfig; | ||
configurations?: IConnectCredentialConfig[]; | ||
personaId: string; | ||
@@ -9,0 +14,0 @@ isPreviewCredential: boolean; |
import { ConnectCredentialProviderData, CredentialStatus, IConnectCredential } from '../entities/connectCredential.interface'; | ||
import { ConnectCredentialConfigMeta, IConnectCredentialConfig } from '../entities/connectCredentialConfig.interface'; | ||
import { PersonaMeta } from '../entities/persona.interface'; | ||
import { AccountType, DataSource, IntegrationConnectInput, SidebarInputType } from './action'; | ||
import { OrConditions } from './resolvers'; | ||
export interface ConnectCredentialConfig { | ||
export interface SDKConnectCredentialConfig { | ||
sharedSettings?: IntegrationSharedInputStateMap; | ||
workflowSettings?: IntegrationWorkflowStateMap; | ||
configMeta?: ConnectCredentialConfigMeta; | ||
/** | ||
* this refer `externalId` of credential config containing shared/workflow settings | ||
*/ | ||
externalId?: string; | ||
/** | ||
* @deprecated - use `workflowSettings` | ||
*/ | ||
configuredWorkflows?: IntegrationWorkflowStateMap; | ||
sharedSettings?: { | ||
[inputId: string]: ConnectInputValue | undefined; | ||
}; | ||
} | ||
@@ -37,3 +45,3 @@ type ConnectInputValue = string | number | boolean | FieldMappingValue | ComboInputValue | undefined; | ||
}; | ||
type IntegrationWorkflowStateMap = { | ||
export type IntegrationWorkflowStateMap = { | ||
[workflowId: string]: IntegrationWorkflowState | undefined; | ||
@@ -47,2 +55,5 @@ }; | ||
}; | ||
export type IntegrationSharedInputStateMap = { | ||
[inputId: string]: ConnectInputValue | undefined; | ||
}; | ||
export type ModalConfig = { | ||
@@ -178,2 +189,3 @@ /** | ||
credentialId?: string; | ||
credentialConfigId?: string; | ||
credentialStatus?: CredentialStatus; | ||
@@ -183,3 +195,4 @@ providerId?: string; | ||
allCredentials: IConnectCredential[]; | ||
} & ConnectCredentialConfig; | ||
allConfigurations?: IConnectCredentialConfig[]; | ||
} & SDKConnectCredentialConfig; | ||
export type SDKIntegrationConfig = { | ||
@@ -186,0 +199,0 @@ oauthInputs: IntegrationConnectInput[]; |
{ | ||
"name": "@useparagon/connect", | ||
"version": "1.0.20", | ||
"version": "1.0.21", | ||
"description": "Embed integrations into your app with the Paragon SDK", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
169459
47
2252