@activepieces/shared
Advanced tools
Comparing version 0.3.11 to 0.3.12
{ | ||
"name": "@activepieces/shared", | ||
"version": "0.3.11", | ||
"version": "0.3.12", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
import { BaseModel } from "../common/base-model"; | ||
import { OAuth2AuthorizationMethod } from "./oauth2-authorization-method"; | ||
export declare type AppConnectionId = string; | ||
@@ -38,2 +39,3 @@ export declare enum AppConnectionStatus { | ||
scope: string; | ||
authorization_method?: OAuth2AuthorizationMethod; | ||
data: Record<string, any>; | ||
@@ -40,0 +42,0 @@ } |
import { Static } from "@sinclair/typebox"; | ||
import { AppConnectionType } from "../app-connection"; | ||
import { OAuth2AuthorizationMethod } from "../oauth2-authorization-method"; | ||
export declare const UpsertCustomAuthRequest: import("@sinclair/typebox").TObject<{ | ||
@@ -14,2 +15,3 @@ value: import("@sinclair/typebox").TObject<{ | ||
client_id: import("@sinclair/typebox").TString<string>; | ||
authorization_method: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2AuthorizationMethod>>; | ||
code: import("@sinclair/typebox").TString<string>; | ||
@@ -41,2 +43,3 @@ code_challenge: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
code: import("@sinclair/typebox").TString<string>; | ||
authorization_method: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2AuthorizationMethod>>; | ||
code_challenge: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
@@ -79,2 +82,3 @@ redirect_url: import("@sinclair/typebox").TString<string>; | ||
code: import("@sinclair/typebox").TString<string>; | ||
authorization_method: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2AuthorizationMethod>>; | ||
code_challenge: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
@@ -89,2 +93,3 @@ redirect_url: import("@sinclair/typebox").TString<string>; | ||
client_id: import("@sinclair/typebox").TString<string>; | ||
authorization_method: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2AuthorizationMethod>>; | ||
code: import("@sinclair/typebox").TString<string>; | ||
@@ -91,0 +96,0 @@ code_challenge: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; |
@@ -6,2 +6,3 @@ "use strict"; | ||
const app_connection_1 = require("../app-connection"); | ||
const oauth2_authorization_method_1 = require("../oauth2-authorization-method"); | ||
const commonAuthProps = { | ||
@@ -17,2 +18,3 @@ name: typebox_1.Type.String({}), | ||
client_id: typebox_1.Type.String(), | ||
authorization_method: typebox_1.Type.Optional(typebox_1.Type.Enum(oauth2_authorization_method_1.OAuth2AuthorizationMethod)), | ||
code: typebox_1.Type.String(), | ||
@@ -36,2 +38,3 @@ code_challenge: typebox_1.Type.Optional(typebox_1.Type.String()), | ||
code: typebox_1.Type.String(), | ||
authorization_method: typebox_1.Type.Optional(typebox_1.Type.Enum(oauth2_authorization_method_1.OAuth2AuthorizationMethod)), | ||
code_challenge: typebox_1.Type.Optional(typebox_1.Type.String()), | ||
@@ -38,0 +41,0 @@ redirect_url: typebox_1.Type.String({}), |
@@ -5,4 +5,5 @@ declare type PackageInfoParams = { | ||
}; | ||
export declare const getPackageNameForPiece: (params: PackageInfoParams) => string; | ||
export declare const getPackageAliasForPiece: (params: PackageInfoParams) => string; | ||
export declare const getPackageVersionForPiece: (params: PackageInfoParams) => string; | ||
export {}; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getPackageVersionForPiece = exports.getPackageAliasForPiece = void 0; | ||
exports.getPackageVersionForPiece = exports.getPackageAliasForPiece = exports.getPackageNameForPiece = void 0; | ||
const getPackageNameForPiece = (params) => { | ||
const { pieceName } = params; | ||
return `@activepieces/piece-${pieceName}`; | ||
}; | ||
exports.getPackageNameForPiece = getPackageNameForPiece; | ||
const getPackageAliasForPiece = (params) => { | ||
@@ -5,0 +10,0 @@ const { pieceName, pieceVersion } = params; |
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
196878
200
2882