Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@activepieces/shared

Package Overview
Dependencies
Maintainers
3
Versions
221
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@activepieces/shared - npm Package Compare versions

Comparing version 0.10.99 to 0.10.100

2

package.json
{
"name": "@activepieces/shared",
"version": "0.10.99",
"version": "0.10.100",
"type": "commonjs",

@@ -5,0 +5,0 @@ "dependencies": {

@@ -71,2 +71,3 @@ import { FileId } from '../file/file';

pieceVersion: string | undefined;
message: string;
}>;

@@ -73,0 +74,0 @@ export type PieceTriggerNotFoundErrorParams = BaseErrorParams<ErrorCode.PIECE_TRIGGER_NOT_FOUND, {

@@ -7,4 +7,5 @@ export declare enum Permission {

WRITE_FLOW = "WRITE_FLOW",
WRITE_PROJECT_PLAN = "WRITE_PROJECT_PLAN",
READ_PROJECT_MEMBER = "READ_PROJECT_MEMBER",
WRITE_PROJECT_MEMBER = "WRITE_PROJECT_MEMBER"
}

@@ -11,2 +11,3 @@ "use strict";

Permission["WRITE_FLOW"] = "WRITE_FLOW";
Permission["WRITE_PROJECT_PLAN"] = "WRITE_PROJECT_PLAN";
Permission["READ_PROJECT_MEMBER"] = "READ_PROJECT_MEMBER";

@@ -13,0 +14,0 @@ Permission["WRITE_PROJECT_MEMBER"] = "WRITE_PROJECT_MEMBER";

@@ -55,2 +55,6 @@ import { RunEnvironment } from '../flow-run/flow-run';

};
type RewardInstructionsClicked = {
email: string;
userId: string;
};
type Referral = {

@@ -96,3 +100,7 @@ referredUserId: UserId;

FORMS_VIEWED = "forms.viewed",
FORMS_SUBMITTED = "forms.submitted"
FORMS_SUBMITTED = "forms.submitted",
REWARDS_BUTTON_CLICKED = "rewards.button.clicked",
PIECE_REWARD_INSTRUCTIONS_CLICKED = "piece.reward.instructions.clicked",
TEMPLATE_REWARD_INSTRUCTIONS_CLICKED = "template.reward.instructions.clicked",
LINKED_IN_REWARD_CLICKED = "linked.in.reward.clicked"
}

@@ -103,3 +111,3 @@ type BaseTelemetryEvent<T, P> = {

};
export type TelemetryEvent = BaseTelemetryEvent<TelemetryEventName.SIGNED_UP, SignedUp> | BaseTelemetryEvent<TelemetryEventName.REFERRAL, Referral> | BaseTelemetryEvent<TelemetryEventName.UPGRADE_CLICKED, UpgradeClicked> | BaseTelemetryEvent<TelemetryEventName.UPGRADE_POPUP, UpgradePopup> | BaseTelemetryEvent<TelemetryEventName.FLOW_RUN_CREATED, RunCreated> | BaseTelemetryEvent<TelemetryEventName.FLOW_PUBLISHED, FlowPublished> | BaseTelemetryEvent<TelemetryEventName.QUOTA_ALERT, QuotaAlert> | BaseTelemetryEvent<TelemetryEventName.CREATED_FLOW, FlowCreated> | BaseTelemetryEvent<TelemetryEventName.TEMPLATE_SEARCH, TemplateSearch> | BaseTelemetryEvent<TelemetryEventName.PIECES_SEARCH, PiecesSearch> | BaseTelemetryEvent<TelemetryEventName.FLOW_IMPORTED, FlowImported> | BaseTelemetryEvent<TelemetryEventName.FLOW_IMPORTED_USING_FILE, FlowImportedUsingFile> | BaseTelemetryEvent<TelemetryEventName.REFERRAL_LINK_COPIED, ReferralLinkCopied> | BaseTelemetryEvent<TelemetryEventName.FLOW_SHARED, FlowShared> | BaseTelemetryEvent<TelemetryEventName.DEMO_IMPORTED, Record<string, never>> | BaseTelemetryEvent<TelemetryEventName.OPENED_PRICING_FROM_DASHBOARD, OpenedFromDasahboard> | BaseTelemetryEvent<TelemetryEventName.COPILOT_GENERATED_CODE, CopilotGeneratedCode> | BaseTelemetryEvent<TelemetryEventName.FORMS_VIEWED, FormsViewed> | BaseTelemetryEvent<TelemetryEventName.FORMS_SUBMITTED, FormsViewed>;
export type TelemetryEvent = BaseTelemetryEvent<TelemetryEventName.SIGNED_UP, SignedUp> | BaseTelemetryEvent<TelemetryEventName.REFERRAL, Referral> | BaseTelemetryEvent<TelemetryEventName.UPGRADE_CLICKED, UpgradeClicked> | BaseTelemetryEvent<TelemetryEventName.UPGRADE_POPUP, UpgradePopup> | BaseTelemetryEvent<TelemetryEventName.FLOW_RUN_CREATED, RunCreated> | BaseTelemetryEvent<TelemetryEventName.FLOW_PUBLISHED, FlowPublished> | BaseTelemetryEvent<TelemetryEventName.QUOTA_ALERT, QuotaAlert> | BaseTelemetryEvent<TelemetryEventName.CREATED_FLOW, FlowCreated> | BaseTelemetryEvent<TelemetryEventName.TEMPLATE_SEARCH, TemplateSearch> | BaseTelemetryEvent<TelemetryEventName.PIECES_SEARCH, PiecesSearch> | BaseTelemetryEvent<TelemetryEventName.FLOW_IMPORTED, FlowImported> | BaseTelemetryEvent<TelemetryEventName.FLOW_IMPORTED_USING_FILE, FlowImportedUsingFile> | BaseTelemetryEvent<TelemetryEventName.REFERRAL_LINK_COPIED, ReferralLinkCopied> | BaseTelemetryEvent<TelemetryEventName.FLOW_SHARED, FlowShared> | BaseTelemetryEvent<TelemetryEventName.DEMO_IMPORTED, Record<string, never>> | BaseTelemetryEvent<TelemetryEventName.OPENED_PRICING_FROM_DASHBOARD, OpenedFromDasahboard> | BaseTelemetryEvent<TelemetryEventName.COPILOT_GENERATED_CODE, CopilotGeneratedCode> | BaseTelemetryEvent<TelemetryEventName.FORMS_VIEWED, FormsViewed> | BaseTelemetryEvent<TelemetryEventName.FORMS_SUBMITTED, FormsViewed> | BaseTelemetryEvent<TelemetryEventName.REWARDS_BUTTON_CLICKED, RewardInstructionsClicked> | BaseTelemetryEvent<TelemetryEventName.PIECE_REWARD_INSTRUCTIONS_CLICKED, RewardInstructionsClicked> | BaseTelemetryEvent<TelemetryEventName.TEMPLATE_REWARD_INSTRUCTIONS_CLICKED, RewardInstructionsClicked> | BaseTelemetryEvent<TelemetryEventName.LINKED_IN_REWARD_CLICKED, RewardInstructionsClicked>;
export {};

@@ -27,3 +27,7 @@ "use strict";

TelemetryEventName["FORMS_SUBMITTED"] = "forms.submitted";
TelemetryEventName["REWARDS_BUTTON_CLICKED"] = "rewards.button.clicked";
TelemetryEventName["PIECE_REWARD_INSTRUCTIONS_CLICKED"] = "piece.reward.instructions.clicked";
TelemetryEventName["TEMPLATE_REWARD_INSTRUCTIONS_CLICKED"] = "template.reward.instructions.clicked";
TelemetryEventName["LINKED_IN_REWARD_CLICKED"] = "linked.in.reward.clicked";
})(TelemetryEventName || (exports.TelemetryEventName = TelemetryEventName = {}));
//# sourceMappingURL=telemetry.js.map

@@ -37,3 +37,4 @@ import { BaseModel } from '../common/base-model';

SHOW_BLOG_GUIDE = "SHOW_BLOG_GUIDE",
SHOW_COMMUNITY_PIECES = "SHOW_COMMUNITY_PIECES",
INSTALL_PROJECT_PIECES_ENABLED = "INSTALL_PROJECT_PIECES_ENABLED",
MANAGE_PROJECT_PIECES_ENABLED = "MANAGE_PROJECT_PIECES_ENABLED",
SHOW_COMMUNITY = "SHOW_COMMUNITY",

@@ -46,2 +47,3 @@ SHOW_COPILOT = "SHOW_COPILOT",

SHOW_SIGN_UP_LINK = "SHOW_SIGN_UP_LINK",
SHOW_REWARDS = "SHOW_REWARDS",
SIGN_UP_ENABLED = "SIGN_UP_ENABLED",

@@ -48,0 +50,0 @@ SUPPORTED_APP_WEBHOOKS = "SUPPORTED_APP_WEBHOOKS",

@@ -37,3 +37,4 @@ "use strict";

ApFlagId["SHOW_BLOG_GUIDE"] = "SHOW_BLOG_GUIDE";
ApFlagId["SHOW_COMMUNITY_PIECES"] = "SHOW_COMMUNITY_PIECES";
ApFlagId["INSTALL_PROJECT_PIECES_ENABLED"] = "INSTALL_PROJECT_PIECES_ENABLED";
ApFlagId["MANAGE_PROJECT_PIECES_ENABLED"] = "MANAGE_PROJECT_PIECES_ENABLED";
ApFlagId["SHOW_COMMUNITY"] = "SHOW_COMMUNITY";

@@ -46,2 +47,3 @@ ApFlagId["SHOW_COPILOT"] = "SHOW_COPILOT";

ApFlagId["SHOW_SIGN_UP_LINK"] = "SHOW_SIGN_UP_LINK";
ApFlagId["SHOW_REWARDS"] = "SHOW_REWARDS";
ApFlagId["SIGN_UP_ENABLED"] = "SIGN_UP_ENABLED";

@@ -48,0 +50,0 @@ ApFlagId["SUPPORTED_APP_WEBHOOKS"] = "SUPPORTED_APP_WEBHOOKS";

@@ -88,4 +88,4 @@ import { Static } from '@sinclair/typebox';

description: import("@sinclair/typebox").TString<string>;
pieces: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString<string>>;
tags: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString<string>>;
pieces: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString<string>>;
blogUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>;

@@ -92,0 +92,0 @@ template: import("@sinclair/typebox").TObject<{

@@ -512,3 +512,3 @@ "use strict";

}
// TODO Remove this in 2024, these pieces didn't follow the standarad versioning where the minor version has to be increased when there is breaking change.
// TODO Remove this in 2024, these pieces didn't follow the standard versioning where the minor version has to be increased when there is breaking change.
function isLegacyApp({ pieceName, pieceVersion }) {

@@ -515,0 +515,0 @@ let newVersion = pieceVersion;

@@ -48,2 +48,3 @@ "use strict";

pieceVersion,
message: 'Failed to extract piece from module.',
},

@@ -50,0 +51,0 @@ });

@@ -16,3 +16,9 @@ import { Static } from '@sinclair/typebox';

favIconUrl: import("@sinclair/typebox").TString<string>;
/**
* @deprecated Use projects filter instead.
*/
filteredPieceNames: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString<string>>;
/**
* @deprecated Use projects filter instead.
*/
filteredPieceBehavior: import("@sinclair/typebox").TEnum<typeof FilteredPieceBehavior>;

@@ -19,0 +25,0 @@ smtpHost: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>;

@@ -14,3 +14,11 @@ "use strict";

})(FilteredPieceBehavior || (exports.FilteredPieceBehavior = FilteredPieceBehavior = {}));
exports.Platform = typebox_1.Type.Object(Object.assign(Object.assign({}, base_model_1.BaseModelSchema), { ownerId: id_generator_1.ApId, name: typebox_1.Type.String(), primaryColor: typebox_1.Type.String(), logoIconUrl: typebox_1.Type.String(), fullLogoUrl: typebox_1.Type.String(), favIconUrl: typebox_1.Type.String(), filteredPieceNames: typebox_1.Type.Array(typebox_1.Type.String()), filteredPieceBehavior: typebox_1.Type.Enum(FilteredPieceBehavior), smtpHost: typebox_1.Type.Optional(typebox_1.Type.String()), smtpPort: typebox_1.Type.Optional(typebox_1.Type.Number()), smtpUser: typebox_1.Type.Optional(typebox_1.Type.String()), smtpPassword: typebox_1.Type.Optional(typebox_1.Type.String()), smtpSenderEmail: typebox_1.Type.Optional(typebox_1.Type.String()), smtpUseSSL: typebox_1.Type.Optional(typebox_1.Type.Boolean()), privacyPolicyUrl: typebox_1.Type.Optional(typebox_1.Type.String()), termsOfServiceUrl: typebox_1.Type.Optional(typebox_1.Type.String()), cloudAuthEnabled: typebox_1.Type.Boolean(), gitSyncEnabled: typebox_1.Type.Boolean(), showPoweredBy: typebox_1.Type.Boolean(), auditLogEnabled: typebox_1.Type.Boolean(), embeddingEnabled: typebox_1.Type.Boolean(), defaultLocale: typebox_1.Type.Optional(typebox_1.Type.Enum(common_1.LocalesEnum)), ssoEnabled: typebox_1.Type.Boolean(), enforceAllowedAuthDomains: typebox_1.Type.Boolean(), allowedAuthDomains: typebox_1.Type.Array(typebox_1.Type.String()), federatedAuthProviders: federated_authn_1.FederatedAuthnProviderConfig, emailAuthEnabled: typebox_1.Type.Boolean(), showActivityLog: typebox_1.Type.Boolean() }));
exports.Platform = typebox_1.Type.Object(Object.assign(Object.assign({}, base_model_1.BaseModelSchema), { ownerId: id_generator_1.ApId, name: typebox_1.Type.String(), primaryColor: typebox_1.Type.String(), logoIconUrl: typebox_1.Type.String(), fullLogoUrl: typebox_1.Type.String(), favIconUrl: typebox_1.Type.String(),
/**
* @deprecated Use projects filter instead.
*/
filteredPieceNames: typebox_1.Type.Array(typebox_1.Type.String()),
/**
* @deprecated Use projects filter instead.
*/
filteredPieceBehavior: typebox_1.Type.Enum(FilteredPieceBehavior), smtpHost: typebox_1.Type.Optional(typebox_1.Type.String()), smtpPort: typebox_1.Type.Optional(typebox_1.Type.Number()), smtpUser: typebox_1.Type.Optional(typebox_1.Type.String()), smtpPassword: typebox_1.Type.Optional(typebox_1.Type.String()), smtpSenderEmail: typebox_1.Type.Optional(typebox_1.Type.String()), smtpUseSSL: typebox_1.Type.Optional(typebox_1.Type.Boolean()), privacyPolicyUrl: typebox_1.Type.Optional(typebox_1.Type.String()), termsOfServiceUrl: typebox_1.Type.Optional(typebox_1.Type.String()), cloudAuthEnabled: typebox_1.Type.Boolean(), gitSyncEnabled: typebox_1.Type.Boolean(), showPoweredBy: typebox_1.Type.Boolean(), auditLogEnabled: typebox_1.Type.Boolean(), embeddingEnabled: typebox_1.Type.Boolean(), defaultLocale: typebox_1.Type.Optional(typebox_1.Type.Enum(common_1.LocalesEnum)), ssoEnabled: typebox_1.Type.Boolean(), enforceAllowedAuthDomains: typebox_1.Type.Boolean(), allowedAuthDomains: typebox_1.Type.Array(typebox_1.Type.String()), federatedAuthProviders: federated_authn_1.FederatedAuthnProviderConfig, emailAuthEnabled: typebox_1.Type.Boolean(), showActivityLog: typebox_1.Type.Boolean() }));
exports.PlatformWithoutSensitiveData = typebox_1.Type.Composite([typebox_1.Type.Object({

@@ -17,0 +25,0 @@ federatedAuthProviders: federated_authn_1.FederatedAuthnProviderConfigWithoutSensitiveData,

@@ -9,2 +9,6 @@ import { Static } from '@sinclair/typebox';

export type ProjectId = ApId;
export declare enum PiecesFilterType {
NONE = "NONE",
ALLOWED = "ALLOWED"
}
export declare enum NotificationStatus {

@@ -22,11 +26,9 @@ NEVER = "NEVER",

projectId: import("@sinclair/typebox").TString<string>;
stripeCustomerId: import("@sinclair/typebox").TString<string>;
stripeSubscriptionId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
subscriptionStartDatetime: import("@sinclair/typebox").TString<string>;
flowPlanName: import("@sinclair/typebox").TString<string>;
name: import("@sinclair/typebox").TString<string>;
minimumPollingInterval: import("@sinclair/typebox").TNumber;
piecesFilterType: import("@sinclair/typebox").TEnum<typeof PiecesFilterType>;
pieces: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString<string>>;
connections: import("@sinclair/typebox").TNumber;
teamMembers: import("@sinclair/typebox").TNumber;
tasks: import("@sinclair/typebox").TNumber;
tasksPerDay: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<number | null>>;
id: import("@sinclair/typebox").TString<string>;

@@ -65,11 +67,9 @@ created: import("@sinclair/typebox").TString<string>;

projectId: import("@sinclair/typebox").TString<string>;
stripeCustomerId: import("@sinclair/typebox").TString<string>;
stripeSubscriptionId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
subscriptionStartDatetime: import("@sinclair/typebox").TString<string>;
flowPlanName: import("@sinclair/typebox").TString<string>;
name: import("@sinclair/typebox").TString<string>;
minimumPollingInterval: import("@sinclair/typebox").TNumber;
piecesFilterType: import("@sinclair/typebox").TEnum<typeof PiecesFilterType>;
pieces: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString<string>>;
connections: import("@sinclair/typebox").TNumber;
teamMembers: import("@sinclair/typebox").TNumber;
tasks: import("@sinclair/typebox").TNumber;
tasksPerDay: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<number | null>>;
id: import("@sinclair/typebox").TString<string>;

@@ -76,0 +76,0 @@ created: import("@sinclair/typebox").TString<string>;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ProjectWithLimits = exports.Project = exports.ProjectPlan = exports.ProjectUsage = exports.NotificationStatus = exports.ListProjectRequestForUserQueryParams = void 0;
exports.ProjectWithLimits = exports.Project = exports.ProjectPlan = exports.ProjectUsage = exports.NotificationStatus = exports.PiecesFilterType = exports.ListProjectRequestForUserQueryParams = void 0;
const typebox_1 = require("@sinclair/typebox");

@@ -11,2 +11,7 @@ const base_model_1 = require("../common/base-model");

});
var PiecesFilterType;
(function (PiecesFilterType) {
PiecesFilterType["NONE"] = "NONE";
PiecesFilterType["ALLOWED"] = "ALLOWED";
})(PiecesFilterType || (exports.PiecesFilterType = PiecesFilterType = {}));
var NotificationStatus;

@@ -21,3 +26,3 @@ (function (NotificationStatus) {

});
exports.ProjectPlan = typebox_1.Type.Object(Object.assign(Object.assign({}, base_model_1.BaseModelSchema), { projectId: typebox_1.Type.String(), stripeCustomerId: typebox_1.Type.String(), stripeSubscriptionId: (0, base_model_1.Nullable)(typebox_1.Type.String()), subscriptionStartDatetime: typebox_1.Type.String(), flowPlanName: typebox_1.Type.String(), minimumPollingInterval: typebox_1.Type.Number(), connections: typebox_1.Type.Number(), teamMembers: typebox_1.Type.Number(), tasks: typebox_1.Type.Number(), tasksPerDay: (0, base_model_1.Nullable)(typebox_1.Type.Number()) }));
exports.ProjectPlan = typebox_1.Type.Object(Object.assign(Object.assign({}, base_model_1.BaseModelSchema), { projectId: typebox_1.Type.String(), name: typebox_1.Type.String(), minimumPollingInterval: typebox_1.Type.Number(), piecesFilterType: typebox_1.Type.Enum(PiecesFilterType), pieces: typebox_1.Type.Array(typebox_1.Type.String()), connections: typebox_1.Type.Number(), teamMembers: typebox_1.Type.Number(), tasks: typebox_1.Type.Number() }));
exports.Project = typebox_1.Type.Object(Object.assign(Object.assign({}, base_model_1.BaseModelSchema), { deleted: (0, base_model_1.Nullable)(typebox_1.Type.String()), ownerId: typebox_1.Type.String(), displayName: typebox_1.Type.String(), notifyStatus: typebox_1.Type.Enum(NotificationStatus), platformId: id_generator_1.ApId, externalId: typebox_1.Type.Optional(typebox_1.Type.String()) }));

@@ -24,0 +29,0 @@ exports.ProjectWithLimits = typebox_1.Type.Composite([

export declare enum WebsocketClientEvent {
TEST_FLOW_RUN_STARTED = "TEST_FLOW_RUN_STARTED",
TEST_FLOW_RUN_FINSIHED = "TEST_FLOW_RUN_FINSIHED",
TEST_FLOW_RUN_FINISHED = "TEST_FLOW_RUN_FINISHED",
GENERATE_CODE_FINISHED = "GENERATE_CODE_FINIISHED",

@@ -5,0 +5,0 @@ TEST_STEP_FINISHED = "TEST_STEP_FINISHED"

@@ -7,3 +7,3 @@ "use strict";

WebsocketClientEvent["TEST_FLOW_RUN_STARTED"] = "TEST_FLOW_RUN_STARTED";
WebsocketClientEvent["TEST_FLOW_RUN_FINSIHED"] = "TEST_FLOW_RUN_FINSIHED";
WebsocketClientEvent["TEST_FLOW_RUN_FINISHED"] = "TEST_FLOW_RUN_FINISHED";
WebsocketClientEvent["GENERATE_CODE_FINISHED"] = "GENERATE_CODE_FINIISHED";

@@ -10,0 +10,0 @@ WebsocketClientEvent["TEST_STEP_FINISHED"] = "TEST_STEP_FINISHED";

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc