@stackone/connect-sdk 3.14.0 → 3.15.0
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.cjs +1 -1
- package/dist/index.d.cts +4 -2
- package/dist/index.d.mts +4 -2
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -5507,7 +5507,7 @@ type PolicyCall = {
|
|
|
5507
5507
|
declare const decideReadFields: (input: {
|
|
5508
5508
|
policy: ActionPolicy;
|
|
5509
5509
|
account: Account;
|
|
5510
|
-
action: Pick<Action, "id" | "categories"> & Partial<Pick<Action, "description">>;
|
|
5510
|
+
action: Pick<Action, "id" | "categories"> & Partial<Pick<Action, "description" | "steps">>;
|
|
5511
5511
|
paths: string[];
|
|
5512
5512
|
valueTypes?: Record<string, FieldValueType>;
|
|
5513
5513
|
neighbours?: Record<string, FieldNeighbours>;
|
|
@@ -5555,6 +5555,7 @@ type LabelEvidence = {
|
|
|
5555
5555
|
connector: string;
|
|
5556
5556
|
action: string;
|
|
5557
5557
|
actionDescription?: string;
|
|
5558
|
+
requests: string[];
|
|
5558
5559
|
valueType: FieldValueType;
|
|
5559
5560
|
parent: string;
|
|
5560
5561
|
siblings: string[];
|
|
@@ -5585,6 +5586,7 @@ type LabelDecision = {
|
|
|
5585
5586
|
};
|
|
5586
5587
|
declare const labelsReferencedBy: (levels: LevelPolicies[]) => string[];
|
|
5587
5588
|
declare const unlabelledAllowPolicyIdsOf: (levels: LevelPolicies[]) => Set<string>;
|
|
5589
|
+
declare const providerRequestsOf: (action: Partial<Pick<Action, "steps">>) => string[];
|
|
5588
5590
|
type LabellingOutcome = {
|
|
5589
5591
|
decisions: LabelDecision[];
|
|
5590
5592
|
unanswered: string[];
|
|
@@ -5998,4 +6000,4 @@ declare const runWebhookSetupPhase: ({
|
|
|
5998
6000
|
runStepActionFn?: typeof runStepAction;
|
|
5999
6001
|
}) => Promise<WebhookSetupPhaseResult>;
|
|
6000
6002
|
//#endregion
|
|
6001
|
-
export { ACTION_SCHEMA, ActingUserRequiredError, type ActionMetaAuthenticationConfig, type ActionPolicy, CATEGORY_ACRONYMS, CONNECTOR_YAML_SCHEMA, type CallAction, type CompleteMcpConnectorOptions, type CompletedMcpConnector, ConnectSDKError, type ConnectorMeta, type ConnectorMetaEvent, type ConnectorMetaSummary, type CreatePaginatorOptions, DEFAULT_TIME_FILTER_SAFETY_BUFFER_SECONDS, DELTA_TOKEN_INCREMENTAL_SCHEMA, type EnabledActionsConfig, type ErrorType, type FieldLabeller, type FieldValueType, type GenerateMcpConnectorInput, type GeneratedMcpConnector, INCREMENTAL_SCHEMA, IncompatibleAuthTypeError, type IncrementalStrategy, type InputValidationError, InvalidActionInputsError, InvalidEventOutputError, type LabelAnswer, type LabelDecision, type LabelEvidence, type LabelQuestion, type LabellingOutcome, MAX_FIELD_PATHS, POLICY_ERROR_STATUS, type PaginateOptions, type PaginateResult, type PaginationProgress, type Paginator, PolicyDeniedError, type PolicyErrorType, PolicyEvaluationError, PolicyPreparseError, type Refusal, type RefusalType, type ReleaseStageCountGroup, type ReleaseStageCounts, type ReleaseStageCountsResolution, type ReleaseStageProfile, type ReleaseStageProfileItem, type ReleaseStageResolution, TIME_FILTER_INCREMENTAL_SCHEMA, type ValidationError, type ValidationErrorResponse, type WebhookSetupPhaseResult, addMcpToolActions, applyDefender, applyReleaseStageResolutionToMeta, applyReleaseStageToConnector, buildReleaseStageProfile, completeMcpConnector, computeCredentialsVerifiedByAuth, countReleaseStageProfile, createBlock, createCursorPaginator, createDeltaTokenStrategy, createIncrementalStrategy, createLabellingDecideReadFields, createOffsetPaginator, createPagePaginator, createPaginator, createTimeFilterStrategy, decideInvokeTool, decideReadFields, definitionVersionOf, evaluateExternalAccountIdExtractorByConnector, executeStepFunction, extractItems, fieldPathsOf, filterActionsByAuthType, formatValidationErrorResponse, generateMcpConnector, getActionAuthenticationMethods, getActionFromUrl, getActionMeta, getActionsMeta, getActionsMetaFromConnectors, getActionsMetaSummary, getActionsMetaSummaryFromConnectors, getRefreshTokenExpiresIn, getTokenExpiresIn, hasCatastrophicBacktrackingRisk, isConnectorReleased, isMcpConnector, isPolicyErrorType, labelKeyOf, labelsReferencedBy, loadConnector, maskFields, paginate, parseActionInputs, parseYamlConnector, refusalOf, resolveReleaseStageCounts, resolveReleaseStageProfile, runAction, runConnectorActionById, runConnectorActionByPath, runEventActionById, runStepAction, runTestActions, runWebhookSetupPhase, supportsRefreshAuthentication, unlabelledAllowPolicyIdsOf, validateYamlConnector };
|
|
6003
|
+
export { ACTION_SCHEMA, ActingUserRequiredError, type ActionMetaAuthenticationConfig, type ActionPolicy, CATEGORY_ACRONYMS, CONNECTOR_YAML_SCHEMA, type CallAction, type CompleteMcpConnectorOptions, type CompletedMcpConnector, ConnectSDKError, type ConnectorMeta, type ConnectorMetaEvent, type ConnectorMetaSummary, type CreatePaginatorOptions, DEFAULT_TIME_FILTER_SAFETY_BUFFER_SECONDS, DELTA_TOKEN_INCREMENTAL_SCHEMA, type EnabledActionsConfig, type ErrorType, type FieldLabeller, type FieldValueType, type GenerateMcpConnectorInput, type GeneratedMcpConnector, INCREMENTAL_SCHEMA, IncompatibleAuthTypeError, type IncrementalStrategy, type InputValidationError, InvalidActionInputsError, InvalidEventOutputError, type LabelAnswer, type LabelDecision, type LabelEvidence, type LabelQuestion, type LabellingOutcome, MAX_FIELD_PATHS, POLICY_ERROR_STATUS, type PaginateOptions, type PaginateResult, type PaginationProgress, type Paginator, PolicyDeniedError, type PolicyErrorType, PolicyEvaluationError, PolicyPreparseError, type Refusal, type RefusalType, type ReleaseStageCountGroup, type ReleaseStageCounts, type ReleaseStageCountsResolution, type ReleaseStageProfile, type ReleaseStageProfileItem, type ReleaseStageResolution, TIME_FILTER_INCREMENTAL_SCHEMA, type ValidationError, type ValidationErrorResponse, type WebhookSetupPhaseResult, addMcpToolActions, applyDefender, applyReleaseStageResolutionToMeta, applyReleaseStageToConnector, buildReleaseStageProfile, completeMcpConnector, computeCredentialsVerifiedByAuth, countReleaseStageProfile, createBlock, createCursorPaginator, createDeltaTokenStrategy, createIncrementalStrategy, createLabellingDecideReadFields, createOffsetPaginator, createPagePaginator, createPaginator, createTimeFilterStrategy, decideInvokeTool, decideReadFields, definitionVersionOf, evaluateExternalAccountIdExtractorByConnector, executeStepFunction, extractItems, fieldPathsOf, filterActionsByAuthType, formatValidationErrorResponse, generateMcpConnector, getActionAuthenticationMethods, getActionFromUrl, getActionMeta, getActionsMeta, getActionsMetaFromConnectors, getActionsMetaSummary, getActionsMetaSummaryFromConnectors, getRefreshTokenExpiresIn, getTokenExpiresIn, hasCatastrophicBacktrackingRisk, isConnectorReleased, isMcpConnector, isPolicyErrorType, labelKeyOf, labelsReferencedBy, loadConnector, maskFields, paginate, parseActionInputs, parseYamlConnector, providerRequestsOf, refusalOf, resolveReleaseStageCounts, resolveReleaseStageProfile, runAction, runConnectorActionById, runConnectorActionByPath, runEventActionById, runStepAction, runTestActions, runWebhookSetupPhase, supportsRefreshAuthentication, unlabelledAllowPolicyIdsOf, validateYamlConnector };
|
package/dist/index.d.mts
CHANGED
|
@@ -5506,7 +5506,7 @@ type PolicyCall = {
|
|
|
5506
5506
|
declare const decideReadFields: (input: {
|
|
5507
5507
|
policy: ActionPolicy;
|
|
5508
5508
|
account: Account;
|
|
5509
|
-
action: Pick<Action, "id" | "categories"> & Partial<Pick<Action, "description">>;
|
|
5509
|
+
action: Pick<Action, "id" | "categories"> & Partial<Pick<Action, "description" | "steps">>;
|
|
5510
5510
|
paths: string[];
|
|
5511
5511
|
valueTypes?: Record<string, FieldValueType>;
|
|
5512
5512
|
neighbours?: Record<string, FieldNeighbours>;
|
|
@@ -5554,6 +5554,7 @@ type LabelEvidence = {
|
|
|
5554
5554
|
connector: string;
|
|
5555
5555
|
action: string;
|
|
5556
5556
|
actionDescription?: string;
|
|
5557
|
+
requests: string[];
|
|
5557
5558
|
valueType: FieldValueType;
|
|
5558
5559
|
parent: string;
|
|
5559
5560
|
siblings: string[];
|
|
@@ -5584,6 +5585,7 @@ type LabelDecision = {
|
|
|
5584
5585
|
};
|
|
5585
5586
|
declare const labelsReferencedBy: (levels: LevelPolicies[]) => string[];
|
|
5586
5587
|
declare const unlabelledAllowPolicyIdsOf: (levels: LevelPolicies[]) => Set<string>;
|
|
5588
|
+
declare const providerRequestsOf: (action: Partial<Pick<Action, "steps">>) => string[];
|
|
5587
5589
|
type LabellingOutcome = {
|
|
5588
5590
|
decisions: LabelDecision[];
|
|
5589
5591
|
unanswered: string[];
|
|
@@ -5997,4 +5999,4 @@ declare const runWebhookSetupPhase: ({
|
|
|
5997
5999
|
runStepActionFn?: typeof runStepAction;
|
|
5998
6000
|
}) => Promise<WebhookSetupPhaseResult>;
|
|
5999
6001
|
//#endregion
|
|
6000
|
-
export { ACTION_SCHEMA, ActingUserRequiredError, type ActionMetaAuthenticationConfig, type ActionPolicy, CATEGORY_ACRONYMS, CONNECTOR_YAML_SCHEMA, type CallAction, type CompleteMcpConnectorOptions, type CompletedMcpConnector, ConnectSDKError, type ConnectorMeta, type ConnectorMetaEvent, type ConnectorMetaSummary, type CreatePaginatorOptions, DEFAULT_TIME_FILTER_SAFETY_BUFFER_SECONDS, DELTA_TOKEN_INCREMENTAL_SCHEMA, type EnabledActionsConfig, type ErrorType, type FieldLabeller, type FieldValueType, type GenerateMcpConnectorInput, type GeneratedMcpConnector, INCREMENTAL_SCHEMA, IncompatibleAuthTypeError, type IncrementalStrategy, type InputValidationError, InvalidActionInputsError, InvalidEventOutputError, type LabelAnswer, type LabelDecision, type LabelEvidence, type LabelQuestion, type LabellingOutcome, MAX_FIELD_PATHS, POLICY_ERROR_STATUS, type PaginateOptions, type PaginateResult, type PaginationProgress, type Paginator, PolicyDeniedError, type PolicyErrorType, PolicyEvaluationError, PolicyPreparseError, type Refusal, type RefusalType, type ReleaseStageCountGroup, type ReleaseStageCounts, type ReleaseStageCountsResolution, type ReleaseStageProfile, type ReleaseStageProfileItem, type ReleaseStageResolution, TIME_FILTER_INCREMENTAL_SCHEMA, type ValidationError, type ValidationErrorResponse, type WebhookSetupPhaseResult, addMcpToolActions, applyDefender, applyReleaseStageResolutionToMeta, applyReleaseStageToConnector, buildReleaseStageProfile, completeMcpConnector, computeCredentialsVerifiedByAuth, countReleaseStageProfile, createBlock, createCursorPaginator, createDeltaTokenStrategy, createIncrementalStrategy, createLabellingDecideReadFields, createOffsetPaginator, createPagePaginator, createPaginator, createTimeFilterStrategy, decideInvokeTool, decideReadFields, definitionVersionOf, evaluateExternalAccountIdExtractorByConnector, executeStepFunction, extractItems, fieldPathsOf, filterActionsByAuthType, formatValidationErrorResponse, generateMcpConnector, getActionAuthenticationMethods, getActionFromUrl, getActionMeta, getActionsMeta, getActionsMetaFromConnectors, getActionsMetaSummary, getActionsMetaSummaryFromConnectors, getRefreshTokenExpiresIn, getTokenExpiresIn, hasCatastrophicBacktrackingRisk, isConnectorReleased, isMcpConnector, isPolicyErrorType, labelKeyOf, labelsReferencedBy, loadConnector, maskFields, paginate, parseActionInputs, parseYamlConnector, refusalOf, resolveReleaseStageCounts, resolveReleaseStageProfile, runAction, runConnectorActionById, runConnectorActionByPath, runEventActionById, runStepAction, runTestActions, runWebhookSetupPhase, supportsRefreshAuthentication, unlabelledAllowPolicyIdsOf, validateYamlConnector };
|
|
6002
|
+
export { ACTION_SCHEMA, ActingUserRequiredError, type ActionMetaAuthenticationConfig, type ActionPolicy, CATEGORY_ACRONYMS, CONNECTOR_YAML_SCHEMA, type CallAction, type CompleteMcpConnectorOptions, type CompletedMcpConnector, ConnectSDKError, type ConnectorMeta, type ConnectorMetaEvent, type ConnectorMetaSummary, type CreatePaginatorOptions, DEFAULT_TIME_FILTER_SAFETY_BUFFER_SECONDS, DELTA_TOKEN_INCREMENTAL_SCHEMA, type EnabledActionsConfig, type ErrorType, type FieldLabeller, type FieldValueType, type GenerateMcpConnectorInput, type GeneratedMcpConnector, INCREMENTAL_SCHEMA, IncompatibleAuthTypeError, type IncrementalStrategy, type InputValidationError, InvalidActionInputsError, InvalidEventOutputError, type LabelAnswer, type LabelDecision, type LabelEvidence, type LabelQuestion, type LabellingOutcome, MAX_FIELD_PATHS, POLICY_ERROR_STATUS, type PaginateOptions, type PaginateResult, type PaginationProgress, type Paginator, PolicyDeniedError, type PolicyErrorType, PolicyEvaluationError, PolicyPreparseError, type Refusal, type RefusalType, type ReleaseStageCountGroup, type ReleaseStageCounts, type ReleaseStageCountsResolution, type ReleaseStageProfile, type ReleaseStageProfileItem, type ReleaseStageResolution, TIME_FILTER_INCREMENTAL_SCHEMA, type ValidationError, type ValidationErrorResponse, type WebhookSetupPhaseResult, addMcpToolActions, applyDefender, applyReleaseStageResolutionToMeta, applyReleaseStageToConnector, buildReleaseStageProfile, completeMcpConnector, computeCredentialsVerifiedByAuth, countReleaseStageProfile, createBlock, createCursorPaginator, createDeltaTokenStrategy, createIncrementalStrategy, createLabellingDecideReadFields, createOffsetPaginator, createPagePaginator, createPaginator, createTimeFilterStrategy, decideInvokeTool, decideReadFields, definitionVersionOf, evaluateExternalAccountIdExtractorByConnector, executeStepFunction, extractItems, fieldPathsOf, filterActionsByAuthType, formatValidationErrorResponse, generateMcpConnector, getActionAuthenticationMethods, getActionFromUrl, getActionMeta, getActionsMeta, getActionsMetaFromConnectors, getActionsMetaSummary, getActionsMetaSummaryFromConnectors, getRefreshTokenExpiresIn, getTokenExpiresIn, hasCatastrophicBacktrackingRisk, isConnectorReleased, isMcpConnector, isPolicyErrorType, labelKeyOf, labelsReferencedBy, loadConnector, maskFields, paginate, parseActionInputs, parseYamlConnector, providerRequestsOf, refusalOf, resolveReleaseStageCounts, resolveReleaseStageProfile, runAction, runConnectorActionById, runConnectorActionByPath, runEventActionById, runStepAction, runTestActions, runWebhookSetupPhase, supportsRefreshAuthentication, unlabelledAllowPolicyIdsOf, validateYamlConnector };
|