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

@activepieces/shared

Package Overview
Dependencies
Maintainers
2
Versions
237
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.126 to 0.10.127

4

package.json
{
"name": "@activepieces/shared",
"version": "0.10.126",
"version": "0.10.127",
"type": "commonjs",

@@ -10,3 +10,3 @@ "dependencies": {

"semver": "7.6.0",
"tslib": "2.6.2"
"tslib": "1.14.1"
},

@@ -13,0 +13,0 @@ "overrides": {

@@ -72,3 +72,4 @@ export * from './lib/flows/actions/action';

export * from './lib/property/markdown';
export * from './lib/flows/operations/migrations';
export * from './lib/license-keys';
export * from './lib/flow-run/execution/flow-execution';

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

tslib_1.__exportStar(require("./lib/property/markdown"), exports);
tslib_1.__exportStar(require("./lib/flows/operations/migrations"), exports);
// Look at https://github.com/sinclairzx81/typebox/issues/350

@@ -77,0 +78,0 @@ const system_1 = require("@sinclair/typebox/system");

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

id: import("@sinclair/typebox").TString;
platformId: import("@sinclair/typebox").TString;
created: import("@sinclair/typebox").TString;
updated: import("@sinclair/typebox").TString;
platformId: import("@sinclair/typebox").TString;
baseUrl: import("@sinclair/typebox").TString;

@@ -21,0 +21,0 @@ provider: import("@sinclair/typebox").TString;

import { Static } from '@sinclair/typebox';
import { AppConnectionStatus } from '../app-connection';
import { AppConnectionScope, AppConnectionStatus } from '../app-connection';
export declare const ListAppConnectionsRequestQuery: import("@sinclair/typebox").TObject<{
cursor: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
projectId: import("@sinclair/typebox").TString;
scope: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof AppConnectionScope>>;
pieceName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;

@@ -16,1 +17,10 @@ displayName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;

export type GetAppConnectionForWorkerRequestQuery = Static<typeof GetAppConnectionForWorkerRequestQuery>;
export declare const ListGlobalConnectionsRequestQuery: import("@sinclair/typebox").TObject<{
pieceName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
scope: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof AppConnectionScope>>;
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TEnum<typeof AppConnectionStatus>>>;
displayName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
cursor: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
}>;
export type ListGlobalConnectionsRequestQuery = Static<typeof ListGlobalConnectionsRequestQuery>;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetAppConnectionForWorkerRequestQuery = exports.ListAppConnectionsRequestQuery = void 0;
exports.ListGlobalConnectionsRequestQuery = exports.GetAppConnectionForWorkerRequestQuery = exports.ListAppConnectionsRequestQuery = void 0;
const typebox_1 = require("@sinclair/typebox");

@@ -9,2 +9,3 @@ const app_connection_1 = require("../app-connection");

projectId: typebox_1.Type.String(),
scope: typebox_1.Type.Optional(typebox_1.Type.Enum(app_connection_1.AppConnectionScope)),
pieceName: typebox_1.Type.Optional(typebox_1.Type.String({})),

@@ -18,2 +19,3 @@ displayName: typebox_1.Type.Optional(typebox_1.Type.String({})),

});
exports.ListGlobalConnectionsRequestQuery = typebox_1.Type.Omit(exports.ListAppConnectionsRequestQuery, ['projectId']);
//# sourceMappingURL=read-app-connection-request.js.map
import { Static } from '@sinclair/typebox';
import { AppConnectionType } from '../app-connection';
import { AppConnectionScope, AppConnectionType } from '../app-connection';
import { OAuth2AuthorizationMethod } from '../oauth2-authorization-method';

@@ -185,2 +185,54 @@ export declare enum OAuth2GrantType {

}>;
export declare const UpdateGlobalConnectionValueRequestBody: import("@sinclair/typebox").TObject<{
displayName: import("@sinclair/typebox").TString;
projectIds: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
}>;
export type UpdateConnectionValueRequestBody = Static<typeof UpdateConnectionValueRequestBody>;
export type UpdateGlobalConnectionValueRequestBody = Static<typeof UpdateGlobalConnectionValueRequestBody>;
export declare const UpsertGlobalConnectionRequestBody: import("@sinclair/typebox").TObject<{
value: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
type: import("@sinclair/typebox").TLiteral<AppConnectionType.CUSTOM_AUTH>;
props: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>;
}>, import("@sinclair/typebox").TObject<{
username: import("@sinclair/typebox").TString;
password: import("@sinclair/typebox").TString;
type: import("@sinclair/typebox").TLiteral<AppConnectionType.BASIC_AUTH>;
}>, import("@sinclair/typebox").TObject<{
props: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
type: import("@sinclair/typebox").TLiteral<AppConnectionType.PLATFORM_OAUTH2>;
redirect_url: import("@sinclair/typebox").TString;
client_id: import("@sinclair/typebox").TString;
code: import("@sinclair/typebox").TString;
code_challenge: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
scope: import("@sinclair/typebox").TString;
authorization_method: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2AuthorizationMethod>>;
}>, import("@sinclair/typebox").TObject<{
props: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
scope: import("@sinclair/typebox").TString;
type: import("@sinclair/typebox").TLiteral<AppConnectionType.CLOUD_OAUTH2>;
client_id: import("@sinclair/typebox").TString;
code: import("@sinclair/typebox").TString;
code_challenge: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
authorization_method: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2AuthorizationMethod>>;
}>, import("@sinclair/typebox").TObject<{
client_secret: import("@sinclair/typebox").TString;
grant_type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2GrantType>>;
props: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>>;
authorization_method: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2AuthorizationMethod>>;
redirect_url: import("@sinclair/typebox").TString;
type: import("@sinclair/typebox").TLiteral<AppConnectionType.OAUTH2>;
client_id: import("@sinclair/typebox").TString;
code: import("@sinclair/typebox").TString;
code_challenge: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
scope: import("@sinclair/typebox").TString;
}>, import("@sinclair/typebox").TObject<{
type: import("@sinclair/typebox").TLiteral<AppConnectionType.SECRET_TEXT>;
secret_text: import("@sinclair/typebox").TString;
}>]>;
type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<AppConnectionType.CUSTOM_AUTH>, import("@sinclair/typebox").TLiteral<AppConnectionType.BASIC_AUTH>, import("@sinclair/typebox").TLiteral<AppConnectionType.PLATFORM_OAUTH2>, import("@sinclair/typebox").TLiteral<AppConnectionType.CLOUD_OAUTH2>, import("@sinclair/typebox").TLiteral<AppConnectionType.OAUTH2>, import("@sinclair/typebox").TLiteral<AppConnectionType.SECRET_TEXT>]>;
pieceName: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString, import("@sinclair/typebox").TString, import("@sinclair/typebox").TString, import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>;
displayName: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString, import("@sinclair/typebox").TString, import("@sinclair/typebox").TString, import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>;
scope: import("@sinclair/typebox").TLiteral<AppConnectionScope.PLATFORM>;
projectIds: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
}>;
export type UpsertGlobalConnectionRequestBody = Static<typeof UpsertGlobalConnectionRequestBody>;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UpdateConnectionValueRequestBody = exports.UpsertAppConnectionRequestBody = exports.UpsertBasicAuthRequest = exports.UpsertOAuth2Request = exports.UpsertSecretTextRequest = exports.UpsertCloudOAuth2Request = exports.UpsertPlatformOAuth2Request = exports.UpsertCustomAuthRequest = exports.OAuth2GrantType = void 0;
exports.UpsertGlobalConnectionRequestBody = exports.UpdateGlobalConnectionValueRequestBody = exports.UpdateConnectionValueRequestBody = exports.UpsertAppConnectionRequestBody = exports.UpsertBasicAuthRequest = exports.UpsertOAuth2Request = exports.UpsertSecretTextRequest = exports.UpsertCloudOAuth2Request = exports.UpsertPlatformOAuth2Request = exports.UpsertCustomAuthRequest = exports.OAuth2GrantType = void 0;
const typebox_1 = require("@sinclair/typebox");

@@ -88,2 +88,15 @@ const app_connection_1 = require("../app-connection");

});
exports.UpdateGlobalConnectionValueRequestBody = typebox_1.Type.Object({
displayName: typebox_1.Type.String({
minLength: 1,
}),
projectIds: typebox_1.Type.Optional(typebox_1.Type.Array(typebox_1.Type.String())),
});
exports.UpsertGlobalConnectionRequestBody = typebox_1.Type.Composite([
typebox_1.Type.Omit(exports.UpsertAppConnectionRequestBody, ['projectId', 'externalId']),
typebox_1.Type.Object({
scope: typebox_1.Type.Literal(app_connection_1.AppConnectionScope.PLATFORM),
projectIds: typebox_1.Type.Array(typebox_1.Type.String()),
}),
]);
//# sourceMappingURL=upsert-app-connection-request.js.map
import { ApId } from '../../common/id-generator';
import { PlatformId } from '../../platform';
import { ProjectId } from '../../project/project';

@@ -28,3 +29,6 @@ import { WorkerMachineType } from '../../workers';

queueToken: string | undefined;
projectId: ProjectId;
projectId: ProjectId | undefined;
platform: {
id: PlatformId;
};
};
export * from './permission';
export declare const SAFE_STRING_PATTERN = "^[^:/?&=#@]+$";
export declare const SAFE_STRING_PATTERN = "^[^./]+$";

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

tslib_1.__exportStar(require("./permission"), exports);
exports.SAFE_STRING_PATTERN = '^[^:/?&=#@]+$';
exports.SAFE_STRING_PATTERN = '^[^./]+$';
//# sourceMappingURL=index.js.map

@@ -7,4 +7,4 @@ export declare function deleteProperties(obj: Record<string, unknown>, props: string[]): {

export declare function sanitizeObjectForPostgresql<T>(input: T): T;
export declare function applyFunctionToValuesSync<T>(obj: unknown, apply: (str: unknown) => unknown): T;
export declare function applyFunctionToValues<T>(obj: unknown, apply: (str: unknown) => Promise<unknown>): Promise<T>;
export declare function applyFunctionToValuesSync<T>(obj: unknown, apply: (str: string) => unknown): T;
export declare function applyFunctionToValues<T>(obj: unknown, apply: (str: string) => Promise<unknown>): Promise<T>;
export declare const isObject: (obj: unknown) => obj is Record<string, unknown>;

@@ -11,0 +11,0 @@ export type MakeKeyNonNullableAndRequired<T extends object, K extends keyof T> = T & {

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

}
return apply(obj);
return obj;
}

@@ -89,3 +89,3 @@ function applyFunctionToValues(obj, apply) {

}
return yield apply(obj);
return obj;
});

@@ -92,0 +92,0 @@ }

@@ -14,3 +14,4 @@ export declare function isString(str: unknown): str is string;

export declare function camelCase(str: string): string;
export declare function parseToJsonIfPossible(str: unknown): unknown;
export declare function pickBy<T extends Record<string, unknown>>(object: T, predicate: (value: T[keyof T], key: keyof T) => boolean): Partial<T>;
export {};

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

exports.camelCase = camelCase;
exports.parseToJsonIfPossible = parseToJsonIfPossible;
exports.pickBy = pickBy;

@@ -86,2 +87,10 @@ const tslib_1 = require("tslib");

}
function parseToJsonIfPossible(str) {
try {
return JSON.parse(str);
}
catch (e) {
return str;
}
}
function pickBy(object, predicate) {

@@ -88,0 +97,0 @@ return Object.keys(object).reduce((result, key) => {

@@ -7,2 +7,3 @@ import { Static } from '@sinclair/typebox';

import { PiecePackage } from '../pieces';
import { PlatformId } from '../platform';
import { ProjectId } from '../project/project';

@@ -32,4 +33,5 @@ export declare enum EngineOperationType {

};
export type ExecuteValidateAuthOperation = BaseEngineOperation & {
export type ExecuteValidateAuthOperation = Omit<BaseEngineOperation, 'projectId'> & {
piece: PiecePackage;
platformId: PlatformId;
auth: AppConnectionValue;

@@ -36,0 +38,0 @@ };

@@ -38,3 +38,3 @@ import { ActionType } from '../../flows/actions/action';

type RouterStepResult = {
conditions: boolean[];
branches: boolean[];
};

@@ -41,0 +41,0 @@ export declare class RouterStepOutput extends GenericStepOutput<ActionType.ROUTER, RouterStepResult> {

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

case FlowOperationType.IMPORT_FLOW: {
const migratedFlow = (0, migrations_1.applyMigrations)(Object.assign(Object.assign({}, clonedVersion), { trigger: operation.request.trigger, displayName: operation.request.displayName, schemaVersion: operation.request.schemaVersion }));
const migratedFlow = migrations_1.flowMigrations.apply(Object.assign(Object.assign({}, clonedVersion), { trigger: operation.request.trigger, displayName: operation.request.displayName, schemaVersion: operation.request.schemaVersion }));
const operations = (0, import_flow_1._importFlow)(clonedVersion, migratedFlow);

@@ -269,0 +269,0 @@ operations.forEach((operation) => {

@@ -5,44 +5,46 @@ import { FlowVersion } from '../../flow-version';

};
export declare const applyMigrations: (flowVersion: FlowVersion) => {
updatedBy?: string | null | undefined;
schemaVersion?: string | null | undefined;
id: string;
flowId: string;
created: string;
updated: string;
displayName: string;
valid: boolean;
trigger: {
nextAction?: any;
type: import("../../triggers/trigger").TriggerType.EMPTY;
name: string;
export declare const flowMigrations: {
apply: (flowVersion: FlowVersion) => {
updatedBy?: string | null | undefined;
schemaVersion?: string | null | undefined;
id: string;
flowId: string;
created: string;
updated: string;
displayName: string;
settings: any;
valid: boolean;
} | {
nextAction?: any;
type: import("../../triggers/trigger").TriggerType.PIECE;
name: string;
displayName: string;
settings: {
triggerName?: string | undefined;
packageType: import("../../../pieces").PackageType;
pieceType: import("../../../pieces").PieceType;
pieceName: string;
pieceVersion: string;
input: {
[x: string]: any;
trigger: {
nextAction?: any;
type: import("../../triggers/trigger").TriggerType.EMPTY;
name: string;
displayName: string;
settings: any;
valid: boolean;
} | {
nextAction?: any;
type: import("../../triggers/trigger").TriggerType.PIECE;
name: string;
displayName: string;
settings: {
triggerName?: string | undefined;
packageType: import("../../../pieces").PackageType;
pieceType: import("../../../pieces").PieceType;
pieceName: string;
pieceVersion: string;
input: {
[x: string]: any;
};
inputUiInfo: {
sampleDataFileId?: string | undefined;
lastTestDate?: string | undefined;
customizedInputs?: {
[x: string]: unknown;
} | undefined;
currentSelectedData?: unknown;
};
};
inputUiInfo: {
sampleDataFileId?: string | undefined;
lastTestDate?: string | undefined;
customizedInputs?: {
[x: string]: unknown;
} | undefined;
currentSelectedData?: unknown;
};
valid: boolean;
};
valid: boolean;
state: import("../../flow-version").FlowVersionState;
};
state: import("../../flow-version").FlowVersionState;
};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.applyMigrations = void 0;
exports.flowMigrations = void 0;
const migrate_branch_to_router_1 = require("./migrate-branch-to-router");

@@ -8,6 +8,8 @@ const migrations = [

];
const applyMigrations = (flowVersion) => {
const apply = (flowVersion) => {
return migrations.reduce((acc, migration) => migration.migrate(acc), flowVersion);
};
exports.applyMigrations = applyMigrations;
exports.flowMigrations = {
apply,
};
//# sourceMappingURL=index.js.map

@@ -13,8 +13,8 @@ import { Static } from '@sinclair/typebox';

export declare const StepFileWithUrl: import("@sinclair/typebox").TObject<{
type: import("@sinclair/typebox").TEnum<typeof import("../../file").FileType>;
id: import("@sinclair/typebox").TString;
platformId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
created: import("@sinclair/typebox").TString;
updated: import("@sinclair/typebox").TString;
platformId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
projectId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
type: import("@sinclair/typebox").TEnum<typeof import("../../file").FileType>;
data: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;

@@ -21,0 +21,0 @@ compression: import("@sinclair/typebox").TEnum<typeof import("../../file").FileCompression>;

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

export declare const UserInvitationWithLink: import("@sinclair/typebox").TObject<{
type: import("@sinclair/typebox").TEnum<typeof InvitationType>;
id: import("@sinclair/typebox").TString;
platformId: import("@sinclair/typebox").TString;
created: import("@sinclair/typebox").TString;
updated: import("@sinclair/typebox").TString;
platformId: import("@sinclair/typebox").TString;
projectId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
status: import("@sinclair/typebox").TEnum<typeof InvitationStatus>;
type: import("@sinclair/typebox").TEnum<typeof InvitationType>;
email: import("@sinclair/typebox").TString;

@@ -35,0 +35,0 @@ platformRole: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<PlatformRole | null>>;

@@ -38,3 +38,5 @@ import { Static } from '@sinclair/typebox';

analyticsEnabled: import("@sinclair/typebox").TBoolean;
globalConnectionsEnabled: import("@sinclair/typebox").TBoolean;
customRolesEnabled: import("@sinclair/typebox").TBoolean;
}>;
export type LicenseKeyEntity = Static<typeof LicenseKeyEntity>;

@@ -39,3 +39,5 @@ "use strict";

analyticsEnabled: typebox_1.Type.Boolean(),
globalConnectionsEnabled: typebox_1.Type.Boolean(),
customRolesEnabled: typebox_1.Type.Boolean(),
});
//# sourceMappingURL=index.js.map

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

customDomainsEnabled: import("@sinclair/typebox").TBoolean;
globalConnectionsEnabled: import("@sinclair/typebox").TBoolean;
customRolesEnabled: import("@sinclair/typebox").TBoolean;
apiKeysEnabled: import("@sinclair/typebox").TBoolean;

@@ -96,6 +98,6 @@ flowIssuesEnabled: import("@sinclair/typebox").TBoolean;

id: import("@sinclair/typebox").TString;
name: import("@sinclair/typebox").TString;
created: import("@sinclair/typebox").TString;
updated: import("@sinclair/typebox").TString;
ownerId: import("@sinclair/typebox").TString;
name: import("@sinclair/typebox").TString;
primaryColor: import("@sinclair/typebox").TString;

@@ -119,2 +121,4 @@ logoIconUrl: import("@sinclair/typebox").TString;

customDomainsEnabled: import("@sinclair/typebox").TBoolean;
globalConnectionsEnabled: import("@sinclair/typebox").TBoolean;
customRolesEnabled: import("@sinclair/typebox").TBoolean;
apiKeysEnabled: import("@sinclair/typebox").TBoolean;

@@ -121,0 +125,0 @@ flowIssuesEnabled: import("@sinclair/typebox").TBoolean;

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

*/
filteredPieceBehavior: typebox_1.Type.Enum(FilteredPieceBehavior), smtp: typebox_1.Type.Optional(exports.SMTPInformation), cloudAuthEnabled: typebox_1.Type.Boolean(), gitSyncEnabled: typebox_1.Type.Boolean(), analyticsEnabled: typebox_1.Type.Boolean(), showPoweredBy: typebox_1.Type.Boolean(), auditLogEnabled: typebox_1.Type.Boolean(), embeddingEnabled: typebox_1.Type.Boolean(), managePiecesEnabled: typebox_1.Type.Boolean(), manageTemplatesEnabled: typebox_1.Type.Boolean(), customAppearanceEnabled: typebox_1.Type.Boolean(), manageProjectsEnabled: typebox_1.Type.Boolean(), projectRolesEnabled: typebox_1.Type.Boolean(), customDomainsEnabled: typebox_1.Type.Boolean(), apiKeysEnabled: typebox_1.Type.Boolean(), flowIssuesEnabled: typebox_1.Type.Boolean(), alertsEnabled: 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(), licenseKey: typebox_1.Type.Optional(typebox_1.Type.String()), pinnedPieces: typebox_1.Type.Array(typebox_1.Type.String()) }));
filteredPieceBehavior: typebox_1.Type.Enum(FilteredPieceBehavior), smtp: typebox_1.Type.Optional(exports.SMTPInformation), cloudAuthEnabled: typebox_1.Type.Boolean(), gitSyncEnabled: typebox_1.Type.Boolean(), analyticsEnabled: typebox_1.Type.Boolean(), showPoweredBy: typebox_1.Type.Boolean(), auditLogEnabled: typebox_1.Type.Boolean(), embeddingEnabled: typebox_1.Type.Boolean(), managePiecesEnabled: typebox_1.Type.Boolean(), manageTemplatesEnabled: typebox_1.Type.Boolean(), customAppearanceEnabled: typebox_1.Type.Boolean(), manageProjectsEnabled: typebox_1.Type.Boolean(), projectRolesEnabled: typebox_1.Type.Boolean(), customDomainsEnabled: typebox_1.Type.Boolean(), globalConnectionsEnabled: typebox_1.Type.Boolean(), customRolesEnabled: typebox_1.Type.Boolean(), apiKeysEnabled: typebox_1.Type.Boolean(), flowIssuesEnabled: typebox_1.Type.Boolean(), alertsEnabled: 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(), licenseKey: typebox_1.Type.Optional(typebox_1.Type.String()), pinnedPieces: typebox_1.Type.Array(typebox_1.Type.String()) }));
exports.PlatformWithoutSensitiveData = typebox_1.Type.Composite([typebox_1.Type.Object({

@@ -33,0 +33,0 @@ federatedAuthProviders: federated_authn_1.FederatedAuthnProviderConfigWithoutSensitiveData,

@@ -7,2 +7,3 @@ import { Static } from '@sinclair/typebox';

limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
displayName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
}>;

@@ -60,9 +61,9 @@ export type ListProjectRequestForUserQueryParams = Static<typeof ListProjectRequestForUserQueryParams>;

export declare const ProjectWithLimits: import("@sinclair/typebox").TObject<{
displayName: import("@sinclair/typebox").TString;
id: import("@sinclair/typebox").TString;
platformId: import("@sinclair/typebox").TString;
created: import("@sinclair/typebox").TString;
updated: import("@sinclair/typebox").TString;
ownerId: import("@sinclair/typebox").TString;
platformId: import("@sinclair/typebox").TString;
externalId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
displayName: import("@sinclair/typebox").TString;
ownerId: import("@sinclair/typebox").TString;
notifyStatus: import("@sinclair/typebox").TEnum<typeof NotificationStatus>;

@@ -88,2 +89,8 @@ usage: import("@sinclair/typebox").TObject<{

}>;
analytics: import("@sinclair/typebox").TObject<{
totalUsers: import("@sinclair/typebox").TNumber;
activeUsers: import("@sinclair/typebox").TNumber;
totalFlows: import("@sinclair/typebox").TNumber;
activeFlows: import("@sinclair/typebox").TNumber;
}>;
}>;

@@ -90,0 +97,0 @@ export declare const UpdateProjectRequestInCommunity: import("@sinclair/typebox").TObject<{

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

limit: typebox_1.Type.Optional(typebox_1.Type.Number()),
displayName: typebox_1.Type.Optional(typebox_1.Type.String()),
});

@@ -36,2 +37,8 @@ var PiecesFilterType;

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()) }));
const projectAnalytics = typebox_1.Type.Object({
totalUsers: typebox_1.Type.Number(),
activeUsers: typebox_1.Type.Number(),
totalFlows: typebox_1.Type.Number(),
activeFlows: typebox_1.Type.Number(),
});
exports.ProjectWithLimits = typebox_1.Type.Composite([

@@ -42,2 +49,3 @@ typebox_1.Type.Omit(exports.Project, ['deleted']),

plan: exports.ProjectPlan,
analytics: projectAnalytics,
}),

@@ -44,0 +52,0 @@ ]);

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

cpuUsagePercentage: import("@sinclair/typebox").TNumber;
diskInfo: import("@sinclair/typebox").TObject<{
total: import("@sinclair/typebox").TNumber;
free: import("@sinclair/typebox").TNumber;
used: import("@sinclair/typebox").TNumber;
percentage: import("@sinclair/typebox").TNumber;
}>;
workerProps: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
ramUsagePercentage: import("@sinclair/typebox").TNumber;

@@ -23,2 +30,9 @@ totalAvailableRamInBytes: import("@sinclair/typebox").TNumber;

cpuUsagePercentage: import("@sinclair/typebox").TNumber;
diskInfo: import("@sinclair/typebox").TObject<{
total: import("@sinclair/typebox").TNumber;
free: import("@sinclair/typebox").TNumber;
used: import("@sinclair/typebox").TNumber;
percentage: import("@sinclair/typebox").TNumber;
}>;
workerProps: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
ramUsagePercentage: import("@sinclair/typebox").TNumber;

@@ -34,9 +48,16 @@ totalAvailableRamInBytes: import("@sinclair/typebox").TNumber;

export declare const WorkerMachineWithStatus: import("@sinclair/typebox").TObject<{
type: import("@sinclair/typebox").TEnum<typeof WorkerMachineType>;
id: import("@sinclair/typebox").TString;
platformId: import("@sinclair/typebox").TString;
created: import("@sinclair/typebox").TString;
updated: import("@sinclair/typebox").TString;
type: import("@sinclair/typebox").TEnum<typeof WorkerMachineType>;
platformId: import("@sinclair/typebox").TString;
information: import("@sinclair/typebox").TObject<{
cpuUsagePercentage: import("@sinclair/typebox").TNumber;
diskInfo: import("@sinclair/typebox").TObject<{
total: import("@sinclair/typebox").TNumber;
free: import("@sinclair/typebox").TNumber;
used: import("@sinclair/typebox").TNumber;
percentage: import("@sinclair/typebox").TNumber;
}>;
workerProps: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
ramUsagePercentage: import("@sinclair/typebox").TNumber;

@@ -51,2 +72,9 @@ totalAvailableRamInBytes: import("@sinclair/typebox").TNumber;

cpuUsagePercentage: import("@sinclair/typebox").TNumber;
diskInfo: import("@sinclair/typebox").TObject<{
total: import("@sinclair/typebox").TNumber;
free: import("@sinclair/typebox").TNumber;
used: import("@sinclair/typebox").TNumber;
percentage: import("@sinclair/typebox").TNumber;
}>;
workerProps: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
ramUsagePercentage: import("@sinclair/typebox").TNumber;

@@ -53,0 +81,0 @@ totalAvailableRamInBytes: import("@sinclair/typebox").TNumber;

@@ -19,2 +19,9 @@ "use strict";

cpuUsagePercentage: typebox_1.Type.Number(),
diskInfo: typebox_1.Type.Object({
total: typebox_1.Type.Number(),
free: typebox_1.Type.Number(),
used: typebox_1.Type.Number(),
percentage: typebox_1.Type.Number(),
}),
workerProps: typebox_1.Type.Record(typebox_1.Type.String(), typebox_1.Type.String()),
ramUsagePercentage: typebox_1.Type.Number(),

@@ -21,0 +28,0 @@ totalAvailableRamInBytes: typebox_1.Type.Number(),

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

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